$szTitle = "wxfiledroptarget"; include "./_header.inc"; ?>
this is a drop target which accepts files (dragged from file manager or explorer).
derived from
include files
<wx/dnd.h>
see also
drag and drop overview, wxdropsource, wxdroptarget, wxtextdroptarget
members
wxfiledroptarget::wxfiledroptarget
wxfiledroptarget::ondrop
wxfiledroptarget::ondropfiles
wxfiledroptarget()
constructor.
virtual bool ondrop(long x, long y, const void *data, size_t size)
see wxdroptarget::ondrop. this function is implemented appropriately for files, and calls wxfiledroptarget::ondropfiles.
virtual bool ondropfiles(wxcoord x, wxcoord y, const wxarraystring& filenames)
override this function to receive dropped files.
parameters
x
y
filenames
return value
return true to accept the data, false to veto the operation.
include "./_footer.inc"; ?>