Classes | |
class | wxDropTarget |
class | wxDropSource |
class | wxTextDropTarget |
class | wxFileDropTarget |
Macros | |
#define | wxDROP_ICON(name) |
This macro creates either a cursor (MSW) or an icon (elsewhere) with the given name (of type const char* ). More... | |
Enumerations | |
enum | { wxDrag_CopyOnly = 0, wxDrag_AllowMove = 1, wxDrag_DefaultMove = 3 } |
Possible flags for drag and drop operations. More... | |
enum | wxDragResult { wxDragError, wxDragNone, wxDragCopy, wxDragMove, wxDragLink, wxDragCancel } |
Result returned from a wxDropSource::DoDragDrop() call. More... | |
Functions | |
bool | wxIsDragResultOk (wxDragResult res) |
Returns true if res indicates that something was done during a DnD operation, i.e. More... | |
#define wxDROP_ICON | ( | name | ) |
This macro creates either a cursor (MSW) or an icon (elsewhere) with the given name (of type const char*
).
Under MSW, the cursor is loaded from the resource file and the icon is loaded from XPM file under other platforms.
This macro should be used with wxDropSource::wxDropSource().
Include file:
#include <wx/dnd.h>
anonymous enum |
enum wxDragResult |
Result returned from a wxDropSource::DoDragDrop() call.
bool wxIsDragResultOk | ( | wxDragResult | res | ) |
Returns true if res indicates that something was done during a DnD operation, i.e.
is neither error nor none nor cancel.