X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..e31f4da5f0e888e3bae947061be02a427c570372:/docs/latex/wx/dobjsmpl.tex diff --git a/docs/latex/wx/dobjsmpl.tex b/docs/latex/wx/dobjsmpl.tex index 6e9fe1d7d6..8c3d8fcd0a 100644 --- a/docs/latex/wx/dobjsmpl.tex +++ b/docs/latex/wx/dobjsmpl.tex @@ -24,13 +24,16 @@ wxPython you should derive the class from wxPyDataObjectSimple in order to get Python-aware capabilities for the various virtual methods.} +\perlnote{In wxPerl, you need to derive your data object class +from Wx::PlDataObjectSimple.} + \wxheading{Virtual functions to override} The objects supporting rendering the data must override \helpref{GetDataSize}{wxdataobjectsimplegetdatasize} and \helpref{GetDataHere}{wxdataobjectsimplegetdatahere} while the objects which may be set must override \helpref{SetData}{wxdataobjectsimplesetdata}. Of -course, the objects supporting both operations must override all threee +course, the objects supporting both operations must override all three methods. \wxheading{Derived from} @@ -82,7 +85,7 @@ object supports rendering its data. \constfunc{virtual bool}{GetDataHere}{\param{void }{*buf}} -Copy the data to the buffer, return TRUE on success. Must be implemented in the +Copy the data to the buffer, return true on success. Must be implemented in the derived class if the object supports rendering its data. \pythonnote{When implementing this method in wxPython, no additional @@ -93,7 +96,7 @@ method as a string.} \func{virtual bool}{SetData}{\param{size\_t }{len}, \param{const void }{*buf}} -Copy the data from the buffer, return TRUE on success. Must be implemented in +Copy the data from the buffer, return true on success. Must be implemented in the derived class if the object supports setting its data. \pythonnote{When implementing this method in wxPython, the data comes