FL/Fl_Window.H must be included always (not only in the FL_INTERNALS part).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2011-02-05 16:55:04 +00:00
parent 777ee1b822
commit e567a23563

View File

@ -39,6 +39,8 @@ typedef HRGN Fl_Region;
typedef HWND Window;
typedef POINT XPoint;
#include <FL/Fl_Window.H>
// this part is included only when compiling the FLTK library or if requested explicitly
#if defined(FL_LIBRARY) || defined(FL_INTERNALS)
@ -67,7 +69,6 @@ inline void XClipBox(Fl_Region r,XRectangle* rect) {
#define XMapWindow(a,b) ShowWindow(b, SW_RESTORE)
#define XUnmapWindow(a,b) ShowWindow(b, SW_HIDE)
#include <FL/Fl_Window.H>
// this object contains all win32-specific stuff about a window:
// Warning: this object is highly subject to change!
class FL_EXPORT Fl_X {