X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..9e967d5417d49764276cf121a32c35d5770b1332:/docs/latex/wx/tclipbrd.tex diff --git a/docs/latex/wx/tclipbrd.tex b/docs/latex/wx/tclipbrd.tex index ae3f102ab3..e76f050078 100644 --- a/docs/latex/wx/tclipbrd.tex +++ b/docs/latex/wx/tclipbrd.tex @@ -9,7 +9,7 @@ Classes: \helpref{wxDataObject}{wxdataobject}, See also: \helpref{Drag and drop overview}{wxdndoverview} and \helpref{DnD sample}{samplednd} This overview discusses data transfer through clipboard or drag and drop. In -wxWindows, these two ways to transfer data (either between different +wxWidgets, these two ways to transfer data (either between different applications or inside one and the same) are very similar which allows to implement both of them using almost the same code - or, in other words, if you implement drag and drop support for your application, you get @@ -60,9 +60,9 @@ chose. But for drag and drop it can only know it after To receive (paste in usual terminology) data from the clipboard, you should create a \helpref{wxDataObject}{wxdataobject} derived class which supports the data formats you need and pass it as argument to -\helpref{wxClipboard::GetData}{wxclipboardgetdata}. If it returns {\tt FALSE}, +\helpref{wxClipboard::GetData}{wxclipboardgetdata}. If it returns {\tt false}, no data in (any of) the supported format(s) is available. If it returns {\tt -TRUE}, the data has been successfully transferred to wxDataObject. +true}, the data has been successfully transferred to wxDataObject. For drag and drop case, the \helpref{wxDropTarget::OnData}{wxdroptargetondata} virtual function will be called when a data object is dropped, from which the