- wxDragImage();
- wxDragImage(const wxBitmap& image,
- const wxCursor& cursor = wxNullCursor);
- wxDragImage(const wxIcon& image,
- const wxCursor& cursor = wxNullCursor);
- wxDragImage(const wxString& text,
- const wxCursor& cursor = wxNullCursor);
- wxDragImage(const wxTreeCtrl& treeCtrl, wxTreeItemId& id);
- 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.
-
+ 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().
+