X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..6b03a638a437316e47f02a896d3ad664d59c6ddb:/interface/wx/dnd.h diff --git a/interface/wx/dnd.h b/interface/wx/dnd.h index a6d5890f2d..d32c418dd5 100644 --- a/interface/wx/dnd.h +++ b/interface/wx/dnd.h @@ -8,7 +8,6 @@ /** @class wxTextDropTarget - @wxheader{dnd.h} A predefined drop target for dealing with text data. @@ -43,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; }; @@ -63,7 +62,6 @@ enum wxDragResult /** @class wxDropTarget - @wxheader{dnd.h} This class represents a target for a drag and drop operation. A wxDataObject can be associated with it and by default, this object will be @@ -93,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 @@ -174,7 +172,6 @@ public: /** @class wxDropSource - @wxheader{dnd.h} This class represents a source for a drag and drop operation. @@ -231,7 +228,7 @@ public: /** Default constructor. */ - ~wxDropSource(); + virtual ~wxDropSource(); /** Starts the drag-and-drop operation which will terminate when the user @@ -267,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); @@ -292,7 +289,6 @@ public: /** @class wxFileDropTarget - @wxheader{dnd.h} This is a drop target which accepts files (dragged from File Manager or Explorer).