projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated for new/better way of declaring wxART_xxx constants
[wxWidgets.git]
/
docs
/
latex
/
wx
/
fildrptg.tex
diff --git
a/docs/latex/wx/fildrptg.tex
b/docs/latex/wx/fildrptg.tex
index 3c92446d98967e0e2d8e59cc8917d89820926f35..6bf2a9d2e6679344dd6053bd0cd9a680a5e71945 100644
(file)
--- a/
docs/latex/wx/fildrptg.tex
+++ b/
docs/latex/wx/fildrptg.tex
@@
-1,6
+1,7
@@
\section{\class{wxFileDropTarget}}\label{wxfiledroptarget}
\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}
\wxheading{Derived from}
@@
-32,7
+33,7
@@
appropriately for files, and calls \helpref{wxFileDropTarget::OnDropFiles}{wxfil
\membersection{wxFileDropTarget::OnDropFiles}\label{wxfiledroptargetondropfiles}
\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.
Override this function to receive dropped files.
@@
-42,11
+43,13
@@
Override this function to receive dropped files.
\docparam{y}{The y coordinate of the mouse.}
\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}
\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.
+
+% 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}.}