]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dnd.h
added wxRTTI macros to stream classes (patch 1687073)
[wxWidgets.git] / include / wx / x11 / dnd.h
index 62400ca5e3c2bc061e259a1ef3bfeb999abb8ab5..1643f0d7e71d123063bc5091ff415d523126b7dd 100644 (file)
@@ -41,7 +41,7 @@ class WXDLLEXPORT wxDropTarget: public wxObject
 public:
     
     wxDropTarget();
-    ~wxDropTarget();
+    virtual ~wxDropTarget();
     
     virtual void OnEnter() { }
     virtual void OnLeave() { }
@@ -143,7 +143,7 @@ public:
     wxDropSource( wxWindow *win );
     wxDropSource( wxDataObject &data, wxWindow *win );
     
-    ~wxDropSource(void);
+    virtual ~wxDropSource(void);
     
     void SetData( wxDataObject &data  );
     wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);