From 7f17b915db467ed1b49ce1b4a0bb7f36dc5cba85 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 25 Feb 2016 17:56:48 +0000 Subject: Remove the useless pseudo run-time type information supported by the Fl_Device class. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL/mac.H') 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 -- cgit v1.2.3