X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..704ceca8d2cd8da51a5cc22f8c51fd61c762dbf5:/interface/wx/dnd.h?ds=inline diff --git a/interface/wx/dnd.h b/interface/wx/dnd.h index 3cd15b3ef5..d32c418dd5 100644 --- a/interface/wx/dnd.h +++ b/interface/wx/dnd.h @@ -42,7 +42,7 @@ public: Return @true to accept the data, or @false to veto the operation. */ - virtual bool OnDropText(wxCoord x, wxCoord y, const wxString& data); + virtual bool OnDropText(wxCoord x, wxCoord y, const wxString& data) = 0; }; @@ -91,7 +91,7 @@ public: /** Destructor. Deletes the associated data object, if any. */ - ~wxDropTarget(); + virtual ~wxDropTarget(); /** This method may only be called from within OnData(). By default, this @@ -228,7 +228,7 @@ public: /** Default constructor. */ - ~wxDropSource(); + virtual ~wxDropSource(); /** Starts the drag-and-drop operation which will terminate when the user @@ -264,7 +264,7 @@ public: @true if the window is scrolling. MSW only. @return @false if you want default feedback, or @true if you implement - your own feedback. The return values is ignored under GTK. + your own feedback. The return value is ignored under GTK. */ virtual bool GiveFeedback(wxDragResult effect);