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;
};
/**
Destructor. Deletes the associated data object, if any.
*/
- ~wxDropTarget();
+ virtual ~wxDropTarget();
/**
This method may only be called from within OnData(). By default, this
/**
Default constructor.
*/
- ~wxDropSource();
+ virtual ~wxDropSource();
/**
Starts the drag-and-drop operation which will terminate when the user
@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);