X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80793cda3ecd4432779bb09fdcea539784b840cd..9bf6a1b80cb856903e15387ebecc926142e73010:/docs/latex/wx/tdnd.tex?ds=sidebyside diff --git a/docs/latex/wx/tdnd.tex b/docs/latex/wx/tdnd.tex index 7e2737f23f..dbbe6daaf2 100644 --- a/docs/latex/wx/tdnd.tex +++ b/docs/latex/wx/tdnd.tex @@ -8,7 +8,7 @@ Classes: \helpref{wxDataObject}{wxdataobject}, \helpref{wxFileDropTarget}{wxfiledroptarget} Note that wxUSE\_DRAG\_AND\_DROP must be defined in setup.h in order -to use drag and drop in wxWindows. +to use drag and drop in wxWidgets. See also: \helpref{wxDataObject overview}{wxdataobjectoverview} and \helpref{DnD sample}{samplednd} @@ -54,7 +54,7 @@ is one of the values of {\tt wxDragResult} enum (explained \helpref{here}{wxdrop case wxDragMove: /* move the data */ break; default: /* do nothing */ break; } -\end{verbatim} +\end{verbatim}% \end{itemize} To be a {\it drop target}, i.e. to receive the data dropped by the user you should @@ -69,7 +69,7 @@ wxDropTarget and override its pure virtual methods. Alternatively, you may derive from \helpref{wxTextDropTarget}{wxtextdroptarget} or \helpref{wxFileDropTarget}{wxfiledroptarget} and override their OnDropText() or OnDropFiles() method. -\item {\bf Drop:} When the user releases the mouse over a window, wxWindows +\item {\bf Drop:} When the user releases the mouse over a window, wxWidgets asks the associated wxDropTarget object if it accepts the data. For this, a \helpref{wxDataObject}{wxdataobject} must be associated with the drop target and this data object will be responsible for the format negotiation between