wxWidgets/docs/latex/wx/prvtdrpt.tex
2002-06-07 20:15:28 +00:00

36 lines
943 B
TeX

\section{\class{wxPrivateDropTarget}}\label{wxprivatedroptarget}
wxPrivateDropTarget is for...
\wxheading{Derived from}
\helpref{wxDropTarget}{wxdroptarget}
\wxheading{Include files}
<wx/dnd.h>
\wxheading{See also}
\helpref{wxDropTarget}{wxdroptarget}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxPrivateDropTarget::wxPrivateDropTarget}\label{wxprivatedroptargetwxprivatedroptarget}
\func{}{wxPrivateDropTarget}{\void}
\membersection{wxPrivateDropTarget::SetId}\label{wxprivatedroptargetsetid}
\func{void}{SetId}{\param{const wxString\& }{id}}
You have to override OnDrop to get at the data.
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{wxPrivateDropTarget::GetId}\label{wxprivatedroptargetgetid}
\constfunc{virtual wxString}{GetId}{\void}