X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/docs/latex/wx/dropevt.tex diff --git a/docs/latex/wx/dropevt.tex b/docs/latex/wx/dropevt.tex index ff3e020e98..8cad51b04e 100644 --- a/docs/latex/wx/dropevt.tex +++ b/docs/latex/wx/dropevt.tex @@ -2,12 +2,22 @@ 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 +older, Windows message-based approach of dropping files. \wxheading{Derived from} \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 @@ -20,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}