X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f24fdbfeae21875fe73f5aa69aede354baed29b..2706e543a6923d8e743c6ec21fcfe898a52aec88:/docs/latex/wx/dobjcomp.tex diff --git a/docs/latex/wx/dobjcomp.tex b/docs/latex/wx/dobjcomp.tex index 9eca258530..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,6 +36,10 @@ None, this class should be used directly. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} \helpref{Clipboard and drag and drop overview}{wxdndoverview}, @@ -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.