1 \section{\class{wxDataObject
}}\label{wxdataobject
}
3 A wxDataObject represents data that can be copied to or from the clipboard, or
6 There are several predefined data object classes, such as
\helpref{wxFileDataObject
}{wxfiledataobject
},
7 \helpref{wxTextDataObject
}{wxtextdataobject
}, and
\helpref{wxBitmapDataObject
}{wxbitmapdataobject
}.
9 You may also derive your own data object classes for user-defined types.
11 TODO: how do user-defined types work?
13 \wxheading{Derived from
}
15 \helpref{wxObject
}{wxobject
}
19 \index{wxDataFormat
}The following symbols are interchangable with the
25 wxDF_TEXT =
1, /* CF_TEXT */
26 wxDF_BITMAP =
2, /* CF_BITMAP */
27 wxDF_METAFILE =
3, /* CF_METAFILEPICT */
28 wxDF_DIB =
8, /* CF_DIB */
29 wxDF_OEMTEXT =
7, /* CF_OEMTEXT */
30 wxDF_FILENAME =
15, /* CF_HDROP */
37 \helpref{wxFileDataObject
}{wxfiledataobject
},
38 \helpref{wxTextDataObject
}{wxtextdataobject
},
39 \helpref{wxBitmapDataObject
}{wxbitmapdataobject
},
40 \helpref{Drag and drop overview
}{wxdndoverview
},
\helpref{wxDropTarget
}{wxdroptarget
},
41 \helpref{wxDropSource
}{wxdropsource
},
42 \helpref{wxTextDropTarget
}{wxtextdroptarget
},
\helpref{wxFileDropTarget
}{wxfiledroptarget
}
44 \latexignore{\rtfignore{\wxheading{Members
}}}
46 \membersection{wxDataObject::wxDataObject
}\label{wxdataobjectwxdataobject
}
48 \func{}{wxDataObject
}{\void}
52 \membersection{wxDataObject::
\destruct{wxDataObject
}}\label{wxdataobjectdtor
}
54 \func{}{\destruct{wxDataObject
}}{\void}
58 \membersection{wxDataObject::GetFormat
}\label{wxdataobjectgetformat
}
60 \constfunc{virtual wxDataFormat
}{GetFormat
}{\void}
62 Returns the format of the object. See
\helpref{Types
}{wxdataobject
}.