X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb91c0be88784698015321e7e2f9c1cbc408e032..aaa6f9ba6bd0be1fe6a34800e6f753ffdc49900c:/docs/latex/wx/dobjcomp.tex diff --git a/docs/latex/wx/dobjcomp.tex b/docs/latex/wx/dobjcomp.tex index 6adb5fca5b..d295dc5eb1 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 @@ -38,7 +38,7 @@ None, this class should be used directly. \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 +57,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. +