23 #include "wxgis/catalogui/catalogui.h"
24 #include "wxgis/geoprocessingui/gxtoolexecview.h"
26 #ifdef wxUSE_DRAG_AND_DROP
28 #define wxGIS_DND_ID wxT("application/x-vnd.nextgis_manager.gxobject-id")
34 class WXDLLIMPEXP_GIS_GPU wxGISTaskDropTarget :
public wxDropTarget
38 virtual ~wxGISTaskDropTarget(
void);
40 virtual wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def);
41 virtual wxDragResult OnEnter(wxCoord x, wxCoord y, wxDragResult def);
42 virtual void OnLeave();
43 virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult defaultDragResult);
45 virtual bool OnDropObjects(wxCoord x, wxCoord y,
long nParentPointer,
const wxArrayLong& TaskIds);
49 wxDECLARE_NO_COPY_CLASS(wxGISTaskDropTarget);
52 #endif // wxUSE_DRAG_AND_DROP