X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/717a57c2fabb054c8f00dc5dae70df1d03cfe532..e195c8c95fb154d035bab400952fc81c62439549:/docs/latex/wx/txtdatob.tex?ds=inline diff --git a/docs/latex/wx/txtdatob.tex b/docs/latex/wx/txtdatob.tex index 13cce6cb88..2e39ee3cbd 100644 --- a/docs/latex/wx/txtdatob.tex +++ b/docs/latex/wx/txtdatob.tex @@ -12,17 +12,22 @@ as well be generated when requested. For this, Note that if you already have the text inside a string, you will not achieve any efficiency gain by overriding these functions because copying wxStrings is -already a very efficient operation (data is not actualyl copied because +already a very efficient operation (data is not actually copied because wxStrings are reference counted). +\pythonnote{If you wish to create a derived wxTextDataObject class in +wxPython you should derive the class from wxPyTextDataObject +in order to get Python-aware capabilities for the various virtual +methods.} + \wxheading{Virtual functions to override} -This class may be used as is, but all of data transfer functions may be +This class may be used as is, but all of the data transfer functions may be overridden to increase efficiency. \wxheading{Derived from} -\helpref{wxDataObjectSimple}{wxdataobjectsimple} +\helpref{wxDataObjectSimple}{wxdataobjectsimple}\\ \helpref{wxDataObject}{wxdataobject} \wxheading{Include files} @@ -31,7 +36,7 @@ overridden to increase efficiency. \wxheading{See also} -\helpref{Clipboard and drag and drop overview}{wxclipboardonfigoverview}, +\helpref{Clipboard and drag and drop overview}{wxdndoverview}, \helpref{wxDataObject}{wxdataobject}, \helpref{wxDataObjectSimple}{wxdataobjectsimple}, \helpref{wxFileDataObject}{wxfiledataobject}, @@ -44,7 +49,7 @@ overridden to increase efficiency. \func{}{wxTextDataObject}{\param{const wxString\& }{text = wxEmptyString}} Constructor, may be used to initialise the text (otherwise -\helpref{SetText}{wxtextdataobjectsettext} should be used later) +\helpref{SetText}{wxtextdataobjectsettext} should be used later). \membersection{wxTextDataObject::GetTextLength}\label{wxtextdataobjectgettextlength} @@ -74,4 +79,3 @@ when the data object receives the data and, by default, copies the text into the member variable. If you want to process the text on the fly you may wish to override this function. -