From 3caff18578bbd2c56abe55da83b8a03b728bd041 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 16 Apr 2016 07:25:58 +0000 Subject: Remove the virtual destructor of class Fl_X that is no longer needed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 1 - FL/win32.H | 1 - FL/x.H | 1 - 3 files changed, 3 deletions(-) diff --git a/FL/mac.H b/FL/mac.H index ae27a95d4..eabbe4271 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -123,7 +123,6 @@ extern NSCursor *fl_default_cursor; // WARNING: this object is highly subject to change! 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 diff --git a/FL/win32.H b/FL/win32.H index f246a67d9..f887a4c6c 100644 --- a/FL/win32.H +++ b/FL/win32.H @@ -49,7 +49,6 @@ typedef HWND Window; // Warning: this object is highly subject to change! class FL_EXPORT Fl_X { public: - virtual ~Fl_X() {} // very important // member variables - add new variables only at the end of this block Window xid; HBITMAP other_xid; // for double-buffered windows diff --git a/FL/x.H b/FL/x.H index 7f96b88fe..35ee1e0e5 100644 --- a/FL/x.H +++ b/FL/x.H @@ -114,7 +114,6 @@ extern FL_EXPORT Fl_XFont_On_Demand fl_xfont; // FL_LIBRARY or FL_INTERNALS must be defined to access this class. class FL_EXPORT Fl_X { public: - virtual ~Fl_X() {} // very important Window xid; Window other_xid; Fl_Window *w; -- cgit v1.2.3