From a8530c73fa2e7a53f0fcef9f391ce3ea6cbd6c4a Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 23 Dec 2010 14:24:29 +0000 Subject: Adopted use of FL_LIBRARY #define symbol under Mac OS X. This allows to compile client applications without including Mac OS system headers, with a gain in speed of compilation and portability. The source files of all FLTK libraries must now be compiled with -DFL_LIBRARY under Mac OS X. Make, CMake and Xcode project support files have been modified accordingly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl.cxx') diff --git a/src/Fl.cxx b/src/Fl.cxx index 53d758f1d..6e0780f66 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -667,7 +667,7 @@ Fl_Window* Fl::next_window(const Fl_Window* window) { */ void Fl::first_window(Fl_Window* window) { if (!window || !window->shown()) return; - fl_find(fl_xid(window)); + fl_find( Fl_X::i(window)->xid ); } /** -- cgit v1.2.3