X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..015fd9ef4833ec3d8b0043a1c7e448c8be4f734a:/wxPython/src/_dragimg.i diff --git a/wxPython/src/_dragimg.i b/wxPython/src/_dragimg.i index 7e6a3ebc2c..fdbbb93d1f 100644 --- a/wxPython/src/_dragimg.i +++ b/wxPython/src/_dragimg.i @@ -24,6 +24,8 @@ +MustHaveApp(wxGenericDragImage); + %name (DragImage) class wxGenericDragImage : public wxObject { public: @@ -37,9 +39,9 @@ public: %name(DragString)wxGenericDragImage(const wxString& str, const wxCursor& cursor = wxNullCursor); - %name(DragTreeItem)wxGenericDragImage(const wxTreeCtrl& treeCtrl, wxTreeItemId& id); + %name(DragTreeItem)wxGenericDragImage(const wxPyTreeCtrl& treeCtrl, wxTreeItemId& id); - %name(DragListItem)wxGenericDragImage(const wxListCtrl& listCtrl, long id); + %name(DragListItem)wxGenericDragImage(const wxPyListCtrl& listCtrl, long id); ~wxGenericDragImage(); @@ -50,7 +52,7 @@ public: // Begin drag. hotspot is the location of the drag position relative to the upper-left // corner of the image. bool BeginDrag(const wxPoint& hotspot, wxWindow* window, - bool fullScreen = FALSE, wxRect* rect = NULL); + bool fullScreen = False, wxRect* rect = NULL); // Begin drag. hotspot is the location of the drag position relative to the upper-left // corner of the image. This is full screen only. fullScreenRect gives the