summaryrefslogtreecommitdiff
path: root/FL/win32.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-02-25 17:56:48 +0000
committerManolo Gouy <Manolo>2016-02-25 17:56:48 +0000
commit7f17b915db467ed1b49ce1b4a0bb7f36dc5cba85 (patch)
tree667444a3146af11c9ef253f906ec5b39f8342bbc /FL/win32.H
parent31793cbdba8e318350c5ed11b06d5a678eb15608 (diff)
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
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 2e18a2803..a7b4ce430 100644
--- a/FL/win32.H
+++ b/FL/win32.H
@@ -63,8 +63,9 @@ 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 : public Fl_Device {
+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