/**
@class wxTextDropTarget
- @wxheader{dnd.h}
A predefined drop target for dealing with text data.
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;
};
/**
@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
/**
Destructor. Deletes the associated data object, if any.
*/
- ~wxDropTarget();
+ virtual ~wxDropTarget();
/**
This method may only be called from within OnData(). By default, this
/**
@class wxDropSource
- @wxheader{dnd.h}
This class represents a source for a drag and drop operation.
/**
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);
/**
@class wxFileDropTarget
- @wxheader{dnd.h}
This is a drop target which accepts files (dragged from File Manager or
Explorer).