<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{\class{wxPrivateDropTarget}}\label{wxprivatedroptarget}

wxPrivateDropTarget is for...

\wxheading{Derived from}

\helpref{wxDropTarget}{wxdroptarget}

\wxheading{Include files}

&lt;wx/dnd.h&gt;

\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\&amp; }{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}

</pre></body></html>