X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dface61ccba162c922b25d18aca2ebc4e6f03312..64e4759f438bbb39e9f8e86b753762c8b370c416:/docs/latex/wx/dropevt.tex?ds=sidebyside diff --git a/docs/latex/wx/dropevt.tex b/docs/latex/wx/dropevt.tex index fc77fac91a..8cad51b04e 100644 --- a/docs/latex/wx/dropevt.tex +++ b/docs/latex/wx/dropevt.tex @@ -2,6 +2,8 @@ This class is used for drop files events, that is, when files have been dropped onto the window. This functionality is currently only available under Windows. +The window must have previously been enabled for dropping by calling +\helpref{wxWindow::DragAcceptFiles}{wxwindowdragacceptfiles}. Important note: this is a separate implementation to the more general drag and drop implementation documented \helpref{here}{wxdndoverview}. It uses the @@ -12,6 +14,10 @@ older, Windows message-based approach of dropping files. \helpref{wxEvent}{wxevent}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Event table macros} To process a drop files event, use these event handler macros to direct input to a member @@ -24,30 +30,30 @@ function that takes a wxDropFilesEvent argument. \wxheading{See also} -\helpref{wxWindow::OnDropFiles}{wxwindowondropfiles}, \helpref{Event handling overview}{eventhandlingoverview} +\helpref{Event handling overview}{eventhandlingoverview} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxDropFilesEvent::wxDropFilesEvent} +\membersection{wxDropFilesEvent::wxDropFilesEvent}\label{wxdropfileseventctor} \func{}{wxDropFilesEvent}{\param{WXTYPE }{id = 0}, \param{int }{noFiles = 0},\rtfsp \param{wxString* }{files = NULL}} Constructor. -\membersection{wxDropFilesEvent::m\_files} +\membersection{wxDropFilesEvent::m\_files}\label{wxdropfileseventmfiles} \member{wxString*}{m\_files} An array of filenames. -\membersection{wxDropFilesEvent::m\_noFiles} +\membersection{wxDropFilesEvent::m\_noFiles}\label{wxdropfileseventmnofiles} \member{int}{m\_noFiles} The number of files dropped. -\membersection{wxDropFilesEvent::m\_pos} +\membersection{wxDropFilesEvent::m\_pos}\label{wxdropfileseventmpos} \member{wxPoint}{m\_pos}