wxWidgets/docs/latex/wx/prvtdrpt.tex

32 lines
902 B
TeX
Raw Normal View History

\section{\class{wxPrivateDropTarget}}\label{wxprivatedroptarget}
wxPrivateDropTarget is for...
\wxheading{Derived from}
\helpref{wxDropTarget}{wxdroptarget}
\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}