X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..461c9b848bebd4748d614c4be882bf1bb6b65a84:/docs/latex/wx/dragimag.tex diff --git a/docs/latex/wx/dragimag.tex b/docs/latex/wx/dragimag.tex index 171de387a4..f71608e08c 100644 --- a/docs/latex/wx/dragimag.tex +++ b/docs/latex/wx/dragimag.tex @@ -46,19 +46,19 @@ Please see {\tt samples/dragimag} for an example. Default constructor. \func{}{wxDragImage}{\param{const wxBitmap\& }{image}, \param{const wxCursor\& }{cursor = wxNullCursor}, - \param{const wxPoint& }{hotspot = wxPoint(0, 0)}} + \param{const wxPoint& }{cursorHotspot = wxPoint(0, 0)}} Constructs a drag image from a bitmap and optional cursor. \func{}{wxDragImage}{\param{const wxIcon\& }{image}, \param{const wxCursor\& }{cursor = wxNullCursor}, - \param{const wxPoint& }{hotspot = wxPoint(0, 0)}} + \param{const wxPoint& }{cursorHotspot = wxPoint(0, 0)}} Constructs a drag image from an icon and optional cursor. \pythonnote{This constructor is called wxDragIcon in wxPython.} \func{}{wxDragImage}{\param{const wxString\& }{text}, \param{const wxCursor\& }{cursor = wxNullCursor}, - \param{const wxPoint& }{hotspot = wxPoint(0, 0)}} + \param{const wxPoint& }{cursorHotspot = wxPoint(0, 0)}} Constructs a drag image from a text string and optional cursor. @@ -77,7 +77,7 @@ Constructs a drag image from the text in the given tree control item, and option \pythonnote{This constructor is called wxDragListItem in wxPython.} \func{}{wxDragImage}{\param{const wxCursor\& }{cursor = wxNullCursor}, - \param{const wxPoint& }{hotspot = wxPoint(0, 0)}} + \param{const wxPoint& }{cursorHotspot = wxPoint(0, 0)}} Constructs a drag image an optional cursor. This constructor is only available for wxGenericDragImage, and can be used when the application @@ -92,7 +92,7 @@ have a mask.} \docparam{cursor}{Optional cursor to combine with the image.} -\docparam{hotspot}{Position of the hotspot within the new image.} +\docparam{hotspot}{This parameter is deprecated.} \docparam{treeCtrl}{Tree control for constructing a tree drag image.} @@ -183,8 +183,7 @@ Call this to move the image to a new position. The image will only be shown if \helpref{wxDragImage::Show}{wxdragimageshow} has been called previously (for example at the start of the drag). -{\it pt} is the position in window coordinates (or screen coordinates if no -window was specified to BeginDrag. +{\it pt} is the position in client coordinates (relative to the window specified in BeginDrag). You can move the image either when the image is hidden or shown, but in general dragging will be smoother if you move the image when it is shown.