X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/717a57c2fabb054c8f00dc5dae70df1d03cfe532..78cb09ec439962b53ba75fef814b9a3871412287:/docs/latex/wx/txtdatob.tex diff --git a/docs/latex/wx/txtdatob.tex b/docs/latex/wx/txtdatob.tex index 13cce6cb88..bcd4d9be20 100644 --- a/docs/latex/wx/txtdatob.tex +++ b/docs/latex/wx/txtdatob.tex @@ -12,26 +12,35 @@ 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} +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \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 +53,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} @@ -62,7 +71,7 @@ strictly required. Returns the text associated with the data object. You may wish to override this method when offering data on-demand, but this is not required by -wxWindows' internals. Use this method to get data in text form from +wxWidgets' internals. Use this method to get data in text form from the \helpref{wxClipboard}{wxclipboard}. \membersection{wxTextDataObject::SetText}\label{wxtextdataobjectsettext} @@ -74,4 +83,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. -