X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e091b2b01599d90ae53a16b18b5ba30e926659f..78cb09ec439962b53ba75fef814b9a3871412287:/docs/latex/wx/closeevt.tex diff --git a/docs/latex/wx/closeevt.tex b/docs/latex/wx/closeevt.tex index 5e540e5afb..1684c16c86 100644 --- a/docs/latex/wx/closeevt.tex +++ b/docs/latex/wx/closeevt.tex @@ -18,12 +18,17 @@ to return {\tt true} or {\tt false} depending on whether the close instruction w \wxheading{Derived from} -\helpref{wxEvent}{wxevent} +\helpref{wxEvent}{wxevent}\\ +\helpref{wxObject}{wxobject} \wxheading{Include files} +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Event table macros} To process a close event, use these event handler macros to direct input to member @@ -48,12 +53,14 @@ This event applies to wxApp only.} \latexignore{\rtfignore{\wxheading{Members}}} + \membersection{wxCloseEvent::wxCloseEvent}\label{wxcloseeventctor} \func{}{wxCloseEvent}{\param{WXTYPE}{ commandEventType = 0}, \param{int}{ id = 0}} Constructor. + \membersection{wxCloseEvent::CanVeto}\label{wxcloseeventcanveto} \func{bool}{CanVeto}{\void} @@ -62,18 +69,15 @@ Returns true if you can veto a system shutdown or a window close event. Vetoing a window close event is not possible if the calling code wishes to force the application to exit, and so this function must be called to check this. + \membersection{wxCloseEvent::GetLoggingOff}\label{wxcloseeventgetloggingoff} \constfunc{bool}{GetLoggingOff}{\void} -Returns true if the user is logging off. +Returns true if the user is just logging off or false if the system is +shutting down. This method can only be called for end session and query end +session events, it doesn't make sense for close window event. -\membersection{wxCloseEvent::GetForce}\label{wxcloseeventgetforce} - -\constfunc{bool}{GetForce}{\void} - -Returns true if the application wishes to force the window to close. -This will shortly be obsolete, replaced by CanVeto. \membersection{wxCloseEvent::SetCanVeto}\label{wxcloseeventsetcanveto} @@ -81,18 +85,21 @@ This will shortly be obsolete, replaced by CanVeto. Sets the 'can veto' flag. + \membersection{wxCloseEvent::SetForce}\label{wxcloseeventsetforce} \constfunc{void}{SetForce}{\param{bool}{ force}} Sets the 'force' flag. + \membersection{wxCloseEvent::SetLoggingOff}\label{wxcloseeventsetloggingoff} \constfunc{void}{SetLoggingOff}{\param{bool}{ loggingOff}} Sets the 'logging off' flag. + \membersection{wxCloseEvent::Veto}\label{wxcloseeventveto} \func{void}{Veto}{\param{bool}{ veto = true}}