X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2edb0bdef6238c8c246b6978bc14828b7033d931..329eeca9c404b5e670af89cf7d2b1e517aa71853:/docs/latex/wx/dataobj.tex?ds=sidebyside diff --git a/docs/latex/wx/dataobj.tex b/docs/latex/wx/dataobj.tex index 30ea106eaa..631c52dc36 100644 --- a/docs/latex/wx/dataobj.tex +++ b/docs/latex/wx/dataobj.tex @@ -5,8 +5,8 @@ %% Modified by: %% Created: 18.10.99 %% RCS-ID: $Id$ -%% Copyright: (c) wxWindows team -%% License: wxWindows license +%% Copyright: (c) wxWidgets team +%% License: wxWidgets license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{\class{wxDataObject}}\label{wxdataobject} @@ -41,7 +41,7 @@ reasonable for the situations when you really need to support multiple formats, but may be annoying if you only want to do something simple like cut and paste text. -To provide a solution for both cases, wxWindows has two predefined classes +To provide a solution for both cases, wxWidgets has two predefined classes which derive from wxDataObject: \helpref{wxDataObjectSimple}{wxdataobjectsimple} and \helpref{wxDataObjectComposite}{wxdataobjectcomposite}. \helpref{wxDataObjectSimple}{wxdataobjectsimple} is @@ -104,6 +104,9 @@ translation under Windows is not yet finished. Derive a class from \helpref{wxPyDataObjectSimple}{wxdataobjectsimple} instead.} +\perlnote{This class is not currently usable from wxPerl; you may +use \helpref{Wx::PlDataObjectSimple}{wxdataobjectsimple} instead.} + \wxheading{Virtual functions to override} Each class derived directly from wxDataObject must override and implement all @@ -164,7 +167,7 @@ in list context it returns a list containing all the supported formats.} \constfunc{virtual bool}{GetDataHere}{\param{const wxDataFormat\&}{ format}, \param{void }{*buf} } The method will write the data of the format {\it format} in the buffer {\it -buf} and return TRUE on success, FALSE on failure. +buf} and return true on success, false on failure. \membersection{wxDataObject::GetDataSize}\label{wxdataobjectgetdatasize} @@ -193,5 +196,5 @@ native format of the wxDataObject. Set the data in the format {\it format} of the length {\it len} provided in the buffer {\it buf}. -Returns TRUE on success, FALSE on failure. +Returns true on success, false on failure.