X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..066f3611df971be93b2ec46b82c2f05f3ff9a422:/docs/latex/wx/dobjcomp.tex diff --git a/docs/latex/wx/dobjcomp.tex b/docs/latex/wx/dobjcomp.tex index fbdc1c5ac4..527a36e9b7 100644 --- a/docs/latex/wx/dobjcomp.tex +++ b/docs/latex/wx/dobjcomp.tex @@ -12,7 +12,7 @@ \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.