From 22111debb86ae720d29325ddcdd6e7fd59de0ec4 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 6 Jan 2011 13:17:21 +0000 Subject: Fixed use of FLTK_HAVE_CAIRO under Mac OS. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- cairo/Makefile | 1 + test/cairo_test.cxx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cairo/Makefile b/cairo/Makefile index cc854ebb8..24a8f3249 100644 --- a/cairo/Makefile +++ b/cairo/Makefile @@ -25,6 +25,7 @@ # http://www.fltk.org/str.php # +FLTKFLAGS = -DFL_LIBRARY include ../makeinclude # diff --git a/test/cairo_test.cxx b/test/cairo_test.cxx index 261cc512c..89811869c 100644 --- a/test/cairo_test.cxx +++ b/test/cairo_test.cxx @@ -151,9 +151,9 @@ int main(int argc, char** argv) { window.resizable(&window); window.color(FL_WHITE); - window.show(argc,argv); window.set_draw_cb(my_cairo_draw_cb); - + window.show(argc,argv); + return Fl::run(); } #else -- cgit v1.2.3