X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..59953bf4ba167311fb0cd2c2c0f3d5d0475b98c8:/include/wx/motif/dnd.h diff --git a/include/wx/motif/dnd.h b/include/wx/motif/dnd.h index 96c3f9a13d..614096f548 100644 --- a/include/wx/motif/dnd.h +++ b/include/wx/motif/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);