X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/457e6c54a28bc20cf347ba921755d7d5b296aa2a..a1c3cdc4a2c4cc2b15d7fdf60c1be228f9fbc520:/docs/latex/wx/droptrgt.tex?ds=sidebyside diff --git a/docs/latex/wx/droptrgt.tex b/docs/latex/wx/droptrgt.tex index d601fb6242..d9a489a581 100644 --- a/docs/latex/wx/droptrgt.tex +++ b/docs/latex/wx/droptrgt.tex @@ -11,7 +11,7 @@ the whole window area, but only a small portion of it. The normal sequence of ca \helpref{OnEnter}{wxdroptargetonenter}, possibly many times \helpref{OnDragOver}{wxdroptargetondragover}, \helpref{OnDrop}{wxdroptargetondrop} and finally \helpref{OnData}{wxdroptargetondata}. -See \helpref{Drag'n'Drop overview}{wxdndoverview} and \helpref{wxDataObject overview}{wxdataobjectoverview} +See \helpref{Drag and drop overview}{wxdndoverview} and \helpref{wxDataObject overview}{wxdataobjectoverview} for more information. \wxheading{Derived from} @@ -26,17 +26,17 @@ None \index{wxDragResult}wxDragResult is defined as follows: -{\small\begin{verbatim} +\begin{verbatim} 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} -} \wxheading{See also} @@ -71,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}. @@ -79,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} @@ -89,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}