X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f24fdbfeae21875fe73f5aa69aede354baed29b..f644bc116bbe46d6ab609a44c05835dc4d87ba02:/docs/latex/wx/txtdatob.tex diff --git a/docs/latex/wx/txtdatob.tex b/docs/latex/wx/txtdatob.tex index f25842b589..0e45a97d66 100644 --- a/docs/latex/wx/txtdatob.tex +++ b/docs/latex/wx/txtdatob.tex @@ -12,12 +12,17 @@ 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} @@ -62,7 +67,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}