X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/954b8ae60391d18b87a604e7919c87c0c6ae208b..6e65f80be5dfcc75bd520fc320d3389e4559bccf:/docs/latex/wx/txtdrptg.tex diff --git a/docs/latex/wx/txtdrptg.tex b/docs/latex/wx/txtdrptg.tex index 85549e31c1..58b3e6091c 100644 --- a/docs/latex/wx/txtdrptg.tex +++ b/docs/latex/wx/txtdrptg.tex @@ -23,20 +23,6 @@ A predefined drop target for dealing with text data. 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}} @@ -46,7 +32,7 @@ appropriately for text, and calls \helpref{wxTextDropTarget::OnDropText}{wxtextd \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. @@ -56,9 +42,9 @@ 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.