<wx/dnd.h>
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
\wxheading{See also}
\helpref{Drag and drop overview}{wxdndoverview}, \helpref{wxDropSource}{wxdropsource},
\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}