summaryrefslogtreecommitdiff
path: root/FL/win32.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/win32.H')
-rw-r--r--FL/win32.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/win32.H b/FL/win32.H
index a71ef97fa..23f239cf3 100644
--- a/FL/win32.H
+++ b/FL/win32.H
@@ -30,6 +30,7 @@ typedef HRGN Fl_Region;
typedef HWND Window;
typedef POINT XPoint;
+#include <FL/Fl_Device.H>
#include <FL/Fl_Window.H>
// this part is included only when compiling the FLTK library or if requested explicitly
@@ -62,7 +63,7 @@ inline void XClipBox(Fl_Region r,XRectangle* rect) {
// this object contains all win32-specific stuff about a window:
// Warning: this object is highly subject to change!
-class FL_EXPORT Fl_X {
+class FL_EXPORT Fl_X : public Fl_Device {
public:
// member variables - add new variables only at the end of this block
Window xid;