23 #include "wxgis/catalogui/catalogui.h"
27 #ifdef wxUSE_DRAG_AND_DROP
29 #define wxGIS_DND_NAME wxT("application/x-vnd.nextgis_manager.gxobject-name")
38 class WXDLLIMPEXP_GIS_CLU wxGISDropTarget :
public wxDropTarget
42 virtual ~wxGISDropTarget(
void);
44 virtual wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def);
45 virtual wxDragResult OnEnter(wxCoord x, wxCoord y, wxDragResult def);
46 virtual void OnLeave();
47 virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult defaultDragResult);
49 virtual bool OnDropObjects(wxCoord x, wxCoord y,
const wxArrayString& GxObjects);
50 static wxArrayString PathsToNames(
const wxArrayString saPaths);
54 wxDECLARE_NO_COPY_CLASS(wxGISDropTarget);
57 #endif // wxUSE_DRAG_AND_DROP
Definition: framework.h:59