wxTextDropTargetA predefined drop target for dealing with text data. Derived from Include files <wx/dnd.h> See also Drag and drop overview, wxDropSource, wxDropTarget, wxFileDropTarget Members
wxTextDropTarget::wxTextDropTarget
wxTextDropTarget::wxTextDropTargetwxTextDropTarget() Constructor.
wxTextDropTarget::OnDropvirtual bool OnDrop(long x, long y, const void *data, size_t size) See wxDropTarget::OnDrop. This function is implemented appropriately for text, and calls wxTextDropTarget::OnDropText.
wxTextDropTarget::OnDropTextvirtual bool OnDropText(wxCoord x, wxCoord y, const wxString& data) Override this function to receive dropped text. Parameters x
y
data
Return value Return true to accept the data, false to veto the operation.
|