130f49d78c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
59 lines
1.7 KiB
TeX
59 lines
1.7 KiB
TeX
\section{\class{wxPrivateDataObject}}\label{wxprivatedataobject}
|
|
|
|
wxPrivateDataObject is a specialization of wxDataObject for application-specific data.
|
|
|
|
\wxheading{Derived from}
|
|
|
|
\helpref{wxDataObject}{wxdataobject}
|
|
|
|
\wxheading{See also}
|
|
|
|
\helpref{wxDataObject}{wxdataobject}
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
\membersection{wxPrivateDataObject::wxPrivateDataObject}\label{wxprivatedataobjectwxprivatedataobject}
|
|
|
|
\func{}{wxPrivateDataObject}{\void}
|
|
|
|
\membersection{wxPrivateDataObject::\destruct{wxPrivateDataObject}}\label{wxprivatedataobjectdtor}
|
|
|
|
\func{}{\destruct{wxPrivateDataObject}}{\void}
|
|
|
|
\membersection{wxPrivateDataObject::GetFormat}\label{wxprivatedataobjectgetformat}
|
|
|
|
\constfunc{virtual wxDataFormat}{GetFormat}{\void}
|
|
|
|
\membersection{wxPrivateDataObject::SetId}\label{wxprivatedataobjectsetid}
|
|
|
|
\func{virtual void}{SetId}{\param{const wxString\& }{id}}
|
|
|
|
The string ID identifies the format of clipboard or DnD data. A word
|
|
processor would e.g. add a wxTextDataObject and a wxPrivateDataObject
|
|
to the clipboard - the latter with the Id "WXWORD\_FORMAT".
|
|
|
|
\membersection{wxPrivateDataObject::GetId}\label{wxprivatedataobjectgetid}
|
|
|
|
\constfunc{virtual wxString}{GetId}{\void}
|
|
|
|
Returns the ID of the clipboard or DnD data format.
|
|
|
|
\membersection{wxPrivateDataObject::SetData}\label{wxprivatedataobjectsetdata}
|
|
|
|
\func{virtual void}{SetData}{\param{const char }{*data}, \param{size\_t }{size}}
|
|
|
|
Set the data. The data object will make internal copy.
|
|
|
|
\membersection{wxPrivateDataObject::GetDataSize}\label{wxprivatedataobjectgetdatasize}
|
|
|
|
\constfunc{virtual size\_t}{GetDataSize}{\void}
|
|
|
|
Returns the data size.
|
|
|
|
\membersection{wxPrivateDataObject::GetData}\label{wxprivatedataobjectgetdata}
|
|
|
|
\func{virtual char*}{GetData}{\void}
|
|
|
|
Returns the data.
|
|
|