summaryrefslogtreecommitdiff
path: root/FL/mac.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/mac.H')
-rw-r--r--FL/mac.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/mac.H b/FL/mac.H
index 8da33239d..7de2b2008 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -139,8 +139,9 @@ extern NSCursor *fl_default_cursor;
// This object contains all mac-specific stuff about a window:
// WARNING: this object is highly subject to change!
-class Fl_X : public Fl_Device {
+class Fl_X {
public:
+ virtual ~Fl_X() {} // very important
Window xid; // pointer to the Cocoa window object (FLWindow*)
Fl_Offscreen other_xid; // pointer for offscreen bitmaps (overlay window)
Fl_Window *w; // FLTK window for