\section{\class{wxDropTarget}}\label{wxdroptarget}
-\overview{Overview}{wxdndoverview}
-
This class represents a target for a drag and drop operation. A \helpref{wxDataObject}{wxdataobject}
can be associated with it and by default, this object will be filled with the data from the
drag source, if the data formats supported by the data object match the drag source data
\helpref{OnEnter}{wxdroptargetonenter}, possibly many times \helpref{OnDragOver}{wxdroptargetondragover},
\helpref{OnDrop}{wxdroptargetondrop} and finally \helpref{OnData}{wxdroptargetondata}.
+See \helpref{Drag'n'Drop overview}{wxdndoverview} and \helpref{wxDataObject overview}{wxdataobjectoverview}
+for more information.
+
\wxheading{Derived from}
None
\index{wxDragResult}wxDragResult is defined as follows:
-{\small\begin{verbatim}
+\begin{verbatim}
enum wxDragResult
{
wxDragError, // error prevented the d&d operation from completing
wxDragCancel // the operation was cancelled by user (not an error)
};
\end{verbatim}
-}
\wxheading{See also}
-\helpref{Drag and drop overview}{wxdndoverview}, \helpref{wxDropSource}{wxdropsource},
+\helpref{wxDropSource}{wxdropsource},
\helpref{wxTextDropTarget}{wxtextdroptarget}, \helpref{wxFileDropTarget}{wxfiledroptarget},
\helpref{wxDataFormat}{wxdataformat}, \helpref{wxDataObject}{wxdataobject}
Sets the data \helpref{wxDataObject}{wxdataobject} associated with the
drop target and deletes any previously associated data object.
+