\helpref{wxDropTarget}{wxdroptarget}
+\wxheading{Include files}
+
+<wx/dnd.h>
+
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
\wxheading{See also}
\helpref{Drag and drop overview}{wxdndoverview}, \helpref{wxDropSource}{wxdropsource},
Constructor.
-\membersection{wxTextDropTarget::GetFormatCount}\label{wxtextdroptargetgetformatcount}
-
-\constfunc{virtual size\_t}{GetFormatCount}{\void}
-
-See \helpref{wxDropTarget::GetFormatCount}{wxdroptargetgetformatcount}. This function is implemented
-appropriately for text.
-
-\membersection{wxTextDropTarget::GetFormat}\label{wxtextdroptargetgetformat}
-
-\constfunc{virtual wxDataFormat}{GetFormat}{\param{size\_t }{n}}
-
-See \helpref{wxDropTarget::GetFormat}{wxdroptargetgetformat}. This function is implemented
-appropriately for text.
-
\membersection{wxTextDropTarget::OnDrop}\label{wxtextdroptargetondrop}
\func{virtual bool}{OnDrop}{\param{long }{x}, \param{long }{y}, \param{const void }{*data}, \param{size\_t }{size}}
\membersection{wxTextDropTarget::OnDropText}\label{wxtextdroptargetondroptext}
-\func{virtual bool}{OnDropText}{\param{long }{x}, \param{long }{y}, \param{const char }{*data}}
+\func{virtual bool}{OnDropText}{\param{wxCoord }{x}, \param{wxCoord }{y}, \param{const wxString\&}{ data}}
Override this function to receive dropped text.
\docparam{y}{The y coordinate of the mouse.}
-\docparam{data}{The data being dropped: a NULL-terminated string.}
+\docparam{data}{The data being dropped: a wxString.}
\wxheading{Return value}
-Return TRUE to accept the data, FALSE to veto the operation.
+Return true to accept the data, false to veto the operation.
+