]>
Commit | Line | Data |
---|---|---|
1 | \section{\class{wxPrivateDropTarget}}\label{wxprivatedroptarget} | |
2 | ||
3 | wxPrivateDropTarget is for... | |
4 | ||
5 | \wxheading{Derived from} | |
6 | ||
7 | \helpref{wxDropTarget}{wxdroptarget} | |
8 | ||
9 | \wxheading{Include files} | |
10 | ||
11 | <wx/dnd.h> | |
12 | ||
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 | ||
27 | You have to override OnDrop to get at the data. | |
28 | The string ID identifies the format of clipboard or DnD data. A word | |
29 | processor would e.g. add a wxTextDataObject and a wxPrivateDataObject | |
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 |