X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7af3ca164537ce06c7df5f9923a53a0d82e21cd0..42e88ddb611d43fe79e1d0c17a764b0848322f1d:/docs/latex/wx/dragimag.tex diff --git a/docs/latex/wx/dragimag.tex b/docs/latex/wx/dragimag.tex index 72cca31294..e74b6db01d 100644 --- a/docs/latex/wx/dragimag.tex +++ b/docs/latex/wx/dragimag.tex @@ -28,6 +28,14 @@ override \helpref{wxDragImage::DoDrawImage}{wxdragimagedodrawimage} and Please see {\tt samples/dragimag} for an example. +%\wxheading{Notes} +% +%Using the native Windows implementation, you must supply an image with a mask, or +%the image will not show when dragged. It is not clear if this is a bug +%in Windows or in the wxDragImage implementation. You can add a mask +%with a call to wxImage::SetMaskColour, passing RGB values not likely +%to be in the image. [CURED by creating the ImageList with ILC_MASK] + \wxheading{Derived from} \helpref{wxObject}{wxobject} @@ -102,7 +110,7 @@ have a mask.} \membersection{wxDragImage::BeginDrag}\label{wxdragimagebegindrag} -\func{bool}{BeginDrag}{\param{const wxPoint\& }{hotspot}, \param{wxWindow* }{window}, \param{bool}{ fullScreen = FALSE}, \param{wxRect*}{ rect = NULL}} +\func{bool}{BeginDrag}{\param{const wxPoint\& }{hotspot}, \param{wxWindow* }{window}, \param{bool}{ fullScreen = false}, \param{wxRect*}{ rect = NULL}} Start dragging the image, in a window or full screen. @@ -125,12 +133,12 @@ Note that this call automatically calls CaptureMouse. of the image.} \docparam{window}{The window that captures the mouse, and within which the dragging -is limited unless {\it fullScreen} is TRUE.} +is limited unless {\it fullScreen} is true.} \docparam{boundingWindow}{In the second form of the function, specifies the area within which the drag occurs.} -\docparam{fullScreen}{If TRUE, specifies that the drag will be visible over the full +\docparam{fullScreen}{If true, specifies that the drag will be visible over the full screen, or over as much of the screen as is specified by {\it rect}. Note that the mouse will still be captured in {\it window}.}