X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..edc09871744140f16b2ef6b7abaa2289d7deb260:/include/wx/x11/dnd.h diff --git a/include/wx/x11/dnd.h b/include/wx/x11/dnd.h index 62400ca5e3..1643f0d7e7 100644 --- a/include/wx/x11/dnd.h +++ b/include/wx/x11/dnd.h @@ -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);