wxWidgets/docs/latex/wx/prvtdrpt.tex

36 lines
941 B
TeX
Raw Normal View History

\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}}
Yu have to override OnDrop to get at the data.
The string ID identifies the format of clipboard or DnD data. A word
rocessor 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}