]>
Commit | Line | Data |
---|---|---|
dface61c JS |
1 | \section{\class{wxPrivateDataObject}}\label{wxprivatedataobject} |
2 | ||
130f49d7 | 3 | wxPrivateDataObject is a specialization of wxDataObject for application-specific data. |
dface61c JS |
4 | |
5 | \wxheading{Derived from} | |
6 | ||
7 | \helpref{wxDataObject}{wxdataobject} | |
8 | ||
130f49d7 JS |
9 | \wxheading{See also} |
10 | ||
11 | \helpref{wxDataObject}{wxdataobject} | |
dface61c JS |
12 | |
13 | \latexignore{\rtfignore{\wxheading{Members}}} | |
14 | ||
15 | \membersection{wxPrivateDataObject::wxPrivateDataObject}\label{wxprivatedataobjectwxprivatedataobject} | |
16 | ||
130f49d7 | 17 | \func{}{wxPrivateDataObject}{\void} |
dface61c JS |
18 | |
19 | \membersection{wxPrivateDataObject::\destruct{wxPrivateDataObject}}\label{wxprivatedataobjectdtor} | |
20 | ||
130f49d7 | 21 | \func{}{\destruct{wxPrivateDataObject}}{\void} |
dface61c JS |
22 | |
23 | \membersection{wxPrivateDataObject::GetFormat}\label{wxprivatedataobjectgetformat} | |
24 | ||
25 | \constfunc{virtual wxDataFormat}{GetFormat}{\void} | |
26 | ||
27 | \membersection{wxPrivateDataObject::SetId}\label{wxprivatedataobjectsetid} | |
28 | ||
130f49d7 | 29 | \func{virtual void}{SetId}{\param{const wxString\& }{id}} |
dface61c | 30 | |
130f49d7 JS |
31 | The string ID identifies the format of clipboard or DnD data. A word |
32 | processor would e.g. add a wxTextDataObject and a wxPrivateDataObject | |
33 | to the clipboard - the latter with the Id "WXWORD\_FORMAT". | |
dface61c JS |
34 | |
35 | \membersection{wxPrivateDataObject::GetId}\label{wxprivatedataobjectgetid} | |
36 | ||
37 | \constfunc{virtual wxString}{GetId}{\void} | |
38 | ||
130f49d7 JS |
39 | Returns the ID of the clipboard or DnD data format. |
40 | ||
dface61c JS |
41 | \membersection{wxPrivateDataObject::SetData}\label{wxprivatedataobjectsetdata} |
42 | ||
130f49d7 | 43 | \func{virtual void}{SetData}{\param{const char }{*data}, \param{size\_t }{size}} |
dface61c | 44 | |
130f49d7 | 45 | Set the data. The data object will make internal copy. |
dface61c JS |
46 | |
47 | \membersection{wxPrivateDataObject::GetDataSize}\label{wxprivatedataobjectgetdatasize} | |
48 | ||
49 | \constfunc{virtual size\_t}{GetDataSize}{\void} | |
50 | ||
130f49d7 JS |
51 | Returns the data size. |
52 | ||
dface61c JS |
53 | \membersection{wxPrivateDataObject::GetData}\label{wxprivatedataobjectgetdata} |
54 | ||
130f49d7 JS |
55 | \func{virtual char*}{GetData}{\void} |
56 | ||
57 | Returns the data. | |
dface61c | 58 |