X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb91c0be88784698015321e7e2f9c1cbc408e032..e815120e412d91e79c98dd0afac2a1e399f10810:/docs/latex/wx/dobjcomp.tex?ds=sidebyside diff --git a/docs/latex/wx/dobjcomp.tex b/docs/latex/wx/dobjcomp.tex index 6adb5fca5b..527a36e9b7 100644 --- a/docs/latex/wx/dobjcomp.tex +++ b/docs/latex/wx/dobjcomp.tex @@ -6,13 +6,13 @@ %% Created: 02.11.99 %% RCS-ID: $Id$ %% Copyright: (c) Vadim Zeitlin -%% Licence: wxWindows licence +%% License: wxWindows license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{\class{wxDataObjectComposite}}\label{wxdataobjectcomposite} wxDataObjectComposite is the simplest -\helpref{wxDataObject}{wxdataobject} derivation which may be sued to support +\helpref{wxDataObject}{wxdataobject} derivation which may be used to support multiple formats. It contains several \helpref{wxDataObjectSimple}{wxdataobjectsimple} objects and supports any format supported by at least one of them. Only one of these data objects is @@ -36,9 +36,13 @@ None, this class should be used directly. +\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}, @@ -57,9 +61,18 @@ The default constructor. \func{void}{Add}{ \param{wxDataObjectSimple }{*dataObject}, - \param{bool }{preferred = FALSE}} + \param{bool }{preferred = false}} Adds the {\it dataObject} to the list of supported objects and it becomes the -preferred object if {\it preferred} is TRUE. +preferred object if {\it preferred} is true. + + +\membersection{wxDataObjectComposite::GetReceivedFormat}\label{wxdataobjectcompositegetreceivedformat} + +\constfunc{wxDataFormat}{GetReceivedFormat}{} +Report the format passed to the SetData method. This should be the +format of the data object within the composite that recieved data from +the clipboard or the DnD operation. You can use this method to find +out what kind of data object was recieved.