1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% Purpose: wxDataObjectComposite documentation
4 %% Author: Vadim Zeitlin
8 %% Copyright: (c) Vadim Zeitlin
9 %% License: wxWindows license
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12 \section{\class{wxDataObjectComposite
}}\label{wxdataobjectcomposite
}
14 wxDataObjectComposite is the simplest
15 \helpref{wxDataObject
}{wxdataobject
} derivation which may be sued to support
16 multiple formats. It contains several
17 \helpref{wxDataObjectSimple
}{wxdataobjectsimple
} objects and supports any
18 format supported by at least one of them. Only one of these data objects is
19 {\it preferred
} (the first one if not explicitly changed by using the second
20 parameter of
\helpref{Add
}{wxdataobjectcompositeadd
}) and its format determines
21 the preferred format of the composite data object as well.
23 See
\helpref{wxDataObject
}{wxdataobject
} documentation for the reasons why you
24 might prefer to use wxDataObject directly instead of wxDataObjectComposite for
27 \wxheading{Virtual functions to override
}
29 None, this class should be used directly.
31 \wxheading{Derived from
}
33 \helpref{wxDataObject
}{wxdataobject
}
35 \wxheading{Include files
}
41 \helpref{Clipboard and drag and drop overview
}{wxdndoverview
},
42 \helpref{wxDataObject
}{wxdataobject
},
43 \helpref{wxDataObjectSimple
}{wxdataobjectsimple
},
44 \helpref{wxFileDataObject
}{wxfiledataobject
},
45 \helpref{wxTextDataObject
}{wxtextdataobject
},
46 \helpref{wxBitmapDataObject
}{wxbitmapdataobject
}
48 \latexignore{\rtfignore{\wxheading{Members
}}}
50 \membersection{wxDataObjectComposite::wxDataObjectComposite
}\label{wxdataobjectcompositewxdataobjectcomposite
}
52 \func{}{wxDataObjectComposite
}{\void}
54 The default constructor.
56 \membersection{wxDataObjectComposite::Add
}\label{wxdataobjectcompositeadd
}
59 \param{wxDataObjectSimple
}{*dataObject
},
60 \param{bool
}{preferred = FALSE
}}
62 Adds the
{\it dataObject
} to the list of supported objects and it becomes the
63 preferred object if
{\it preferred
} is TRUE.