X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2245b2b2c3339ecf023e5880caa803610a5d1907..bc07ab17bf5370f452e899128bf89cc7ca7b98f0:/include/wx/x11/dnd.h diff --git a/include/wx/x11/dnd.h b/include/wx/x11/dnd.h index fa392bd9d8..1643f0d7e7 100644 --- a/include/wx/x11/dnd.h +++ b/include/wx/x11/dnd.h @@ -7,14 +7,9 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// - #ifndef _WX_DND_H_ #define _WX_DND_H_ -#ifdef __GNUG__ -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_DRAG_AND_DROP @@ -46,7 +41,7 @@ class WXDLLEXPORT wxDropTarget: public wxObject public: wxDropTarget(); - ~wxDropTarget(); + virtual ~wxDropTarget(); virtual void OnEnter() { } virtual void OnLeave() { } @@ -148,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);