From: Vadim Zeitlin Date: Tue, 2 Apr 2002 23:26:22 +0000 (+0000) Subject: fixed OnDropFiles() signature X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/461c9b848bebd4748d614c4be882bf1bb6b65a84?hp=ee1797f141057c63762e69e9bd2fee26cd8022e4 fixed OnDropFiles() signature git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/fildrptg.tex b/docs/latex/wx/fildrptg.tex index 80d68f1a26..b24dbd8adf 100644 --- a/docs/latex/wx/fildrptg.tex +++ b/docs/latex/wx/fildrptg.tex @@ -1,6 +1,7 @@ \section{\class{wxFileDropTarget}}\label{wxfiledroptarget} - A drop target which accepts files (dragged from File Manager or Explorer). +This is a \helpref{drop target}{wxdroptarget} which accepts files (dragged +from File Manager or Explorer). \wxheading{Derived from} @@ -32,7 +33,7 @@ appropriately for files, and calls \helpref{wxFileDropTarget::OnDropFiles}{wxfil \membersection{wxFileDropTarget::OnDropFiles}\label{wxfiledroptargetondropfiles} -\func{virtual bool}{OnDropFiles}{\param{long }{x}, \param{long }{y}, \param{size\_t }{nFiles}, \param{const char * const}{files[]}} +\func{virtual bool}{OnDropFiles}{\param{wxCoord }{x}, \param{wxCoord }{y}, \param{const wxArrayString\& }{filenames}} Override this function to receive dropped files. @@ -42,14 +43,13 @@ Override this function to receive dropped files. \docparam{y}{The y coordinate of the mouse.} -\docparam{nFiles}{The number of files being dropped.} - -\docparam{files}{An array of filenames.} +\docparam{filenames}{An array of filenames.} \wxheading{Return value} Return TRUE to accept the data, FALSE to veto the operation. -\perlnote{In wxPerl there is just an array reference in place of {\tt nFiles} -and {\tt files}.} +% VZ: this clarification is probably not needed any longer? +%\perlnote{In wxPerl there is just an array reference in place of {\tt nFiles} +%and {\tt files}.}