mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 11:25:22 +08:00
Fl_Preferences.H now doesn't include windows.h any more
(Windows only, STR #2173). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
CHANGES IN FLTK 1.3.0
|
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
|
- Fl_Window::draw() now doesn't reset its x/y-coordinates to 0
|
||||||
anymore before drawing itself and its children.
|
anymore before drawing itself and its children.
|
||||||
- All draw() methods of widgets are now protected (STR #2142).
|
- All draw() methods of widgets are now protected (STR #2142).
|
||||||
|
|||||||
@@ -31,11 +31,6 @@
|
|||||||
#ifndef Fl_Preferences_H
|
#ifndef Fl_Preferences_H
|
||||||
# define Fl_Preferences_H
|
# define Fl_Preferences_H
|
||||||
|
|
||||||
# ifdef WIN32
|
|
||||||
# include <windows.h>
|
|
||||||
# endif // WIN32
|
|
||||||
|
|
||||||
# include <stdio.h>
|
|
||||||
# include "Fl_Export.H"
|
# include "Fl_Export.H"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -51,6 +51,9 @@
|
|||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#include <windows.h>
|
||||||
|
#endif // WIN32
|
||||||
|
|
||||||
char Fl_Preferences::nameBuffer[128];
|
char Fl_Preferences::nameBuffer[128];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user