X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/docs/latex/wx/droptrgt.tex diff --git a/docs/latex/wx/droptrgt.tex b/docs/latex/wx/droptrgt.tex index eb9ca1eed6..d9a489a581 100644 --- a/docs/latex/wx/droptrgt.tex +++ b/docs/latex/wx/droptrgt.tex @@ -32,7 +32,8 @@ enum wxDragResult wxDragError, // error prevented the d&d operation from completing wxDragNone, // drag target didn't accept the data wxDragCopy, // the data was successfully copied - wxDragMove, // the data was successfully moved + wxDragMove, // the data was successfully moved (MSW only) + wxDragLink, // operation is a drag-link wxDragCancel // the operation was cancelled by user (not an error) }; \end{verbatim} @@ -70,7 +71,7 @@ calling its \helpref{wxDataObject::SetData}{wxdataobjectsetdata} method. \func{virtual wxDragResult}{OnData}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxDragResult}{ def}} -Called after \helpref{OnDrop}{wxdroptargetondrop} returns TRUE. By default this +Called after \helpref{OnDrop}{wxdroptargetondrop} returns true. By default this will usually \helpref{GetData}{wxdroptargetgetdata} and will return the suggested default value {\it def}. @@ -78,7 +79,7 @@ default value {\it def}. \func{virtual bool}{OnDrop}{\param{wxCoord }{x}, \param{wxCoord }{y}} -Called when the user drops a data object on the target. Return FALSE to veto the operation. +Called when the user drops a data object on the target. Return false to veto the operation. \wxheading{Parameters} @@ -88,7 +89,7 @@ Called when the user drops a data object on the target. Return FALSE to veto the \wxheading{Return value} -Return TRUE to accept the data, FALSE to veto the operation. +Return true to accept the data, false to veto the operation. \membersection{wxDropTarget::OnEnter}\label{wxdroptargetonenter}