Author: AlbrechtS
Date: 2009-03-14 03:23:05 -0700 (Sat, 14 Mar 2009)
New Revision: 6682
Log:
Fl_Preferences.H now doesn't include windows.h any more
(Windows only, STR #2173).


Modified:
   branches/branch-1.3/CHANGES
   branches/branch-1.3/FL/Fl_Preferences.H
   branches/branch-1.3/src/Fl_Preferences.cxx

Modified: branches/branch-1.3/CHANGES
===================================================================
--- branches/branch-1.3/CHANGES 2009-03-14 10:18:34 UTC (rev 6681)
+++ branches/branch-1.3/CHANGES 2009-03-14 10:23:05 UTC (rev 6682)
@@ -1,5 +1,7 @@
 CHANGES IN FLTK 1.3.0
 
+       - Fl_Preferences.H now doesn't include windows.h any more
+         (Windows only, STR #2173).
        - Fl_Window::draw() now doesn't reset its x/y-coordinates to 0
          anymore before drawing itself and its children.
        - All draw() methods of widgets are now protected (STR #2142).

Modified: branches/branch-1.3/FL/Fl_Preferences.H
===================================================================
--- branches/branch-1.3/FL/Fl_Preferences.H     2009-03-14 10:18:34 UTC (rev 
6681)
+++ branches/branch-1.3/FL/Fl_Preferences.H     2009-03-14 10:23:05 UTC (rev 
6682)
@@ -31,11 +31,6 @@
 #ifndef Fl_Preferences_H
 #  define Fl_Preferences_H
 
-#  ifdef WIN32
-#    include <windows.h>
-#  endif // WIN32
-
-#  include <stdio.h>
 #  include "Fl_Export.H"
 
 

Modified: branches/branch-1.3/src/Fl_Preferences.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Preferences.cxx  2009-03-14 10:18:34 UTC (rev 
6681)
+++ branches/branch-1.3/src/Fl_Preferences.cxx  2009-03-14 10:23:05 UTC (rev 
6682)
@@ -51,6 +51,9 @@
 #  include <unistd.h>
 #endif
 
+#ifdef WIN32
+#include <windows.h>
+#endif // WIN32
 
 char Fl_Preferences::nameBuffer[128];
 

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to