]>
Commit | Line | Data |
---|---|---|
130f49d7 JS |
1 | \section{\class{wxPrivateDropTarget}}\label{wxprivatedroptarget} |
2 | ||
3 | wxPrivateDropTarget is for... | |
4 | ||
5 | \wxheading{Derived from} | |
6 | ||
7 | \helpref{wxDropTarget}{wxdroptarget} | |
8 | ||
954b8ae6 JS |
9 | \wxheading{Include files} |
10 | ||
11 | <wx/dnd.h> | |
12 | ||
130f49d7 JS |
13 | \wxheading{See also} |
14 | ||
15 | \helpref{wxDropTarget}{wxdroptarget} | |
16 | ||
17 | \latexignore{\rtfignore{\wxheading{Members}}} | |
18 | ||
19 | \membersection{wxPrivateDropTarget::wxPrivateDropTarget}\label{wxprivatedroptargetwxprivatedroptarget} | |
20 | ||
21 | \func{}{wxPrivateDropTarget}{\void} | |
22 | ||
23 | \membersection{wxPrivateDropTarget::SetId}\label{wxprivatedroptargetsetid} | |
24 | ||
25 | \func{void}{SetId}{\param{const wxString\& }{id}} | |
26 | ||
2edb0bde | 27 | You have to override OnDrop to get at the data. |
130f49d7 | 28 | The string ID identifies the format of clipboard or DnD data. A word |
2edb0bde | 29 | processor would e.g. add a wxTextDataObject and a wxPrivateDataObject |
130f49d7 JS |
30 | to the clipboard - the latter with the Id "WXWORD\_FORMAT". |
31 | ||
32 | \membersection{wxPrivateDropTarget::GetId}\label{wxprivatedroptargetgetid} | |
33 | ||
34 | \constfunc{virtual wxString}{GetId}{\void} | |
35 |