- wxDragImage(const wxListCtrl& treeCtrl, long id);
- wxDragImage(const wxCursor& cursor = wxNullCursor);
- //@}
-
- //@{
- /**
- Start dragging the image, using the first window to capture the mouse and the
- second
- to specify the bounding area. This form is equivalent to using the first form,
- but more convenient than working out the bounding rectangle explicitly.
-
- You need to then call Show()
- and Move() to show the image on the screen.
-
- Call EndDrag() when the drag has finished.
-
- Note that this call automatically calls CaptureMouse.
-
+ /**
+ Constructs a drag image from the text in the given list control item,
+ and optional cursor.
+
+ @param listCtrl
+ List control for constructing a list drag image.
+ @param id
+ List control item id.
+
+ @beginWxPythonOnly
+ This constructor is called wxDragListItem in wxPython.
+ @endWxPythonOnly
+ */
+ wxDragImage(const wxListCtrl& listCtrl, long id);
+ /**
+ Constructs a drag image an optional cursor. This constructor is only
+ available for wxGenericDragImage, and can be used when the application
+ supplies DoDrawImage() and GetImageRect().
+
+ @param cursor
+ Optional cursor to combine with the image.
+ @param cursorHotspot
+ This parameter is deprecated.
+ */
+ wxDragImage(const wxCursor& cursor = wxNullCursor,
+ const wxPoint& cursorHotspot = wxPoint(0, 0));
+
+ /**
+ Start dragging the image, in a window or full screen.
+
+ You need to then call Show() and Move() to show the image on the
+ screen. Call EndDrag() when the drag has finished.
+
+ Note that this call automatically calls CaptureMouse().
+