1 \section{\class{wxCloseEvent
}}\label{wxcloseevent
}
3 This event class contains information about window and session close events.
5 \wxheading{Derived from
}
7 \helpref{wxEvent
}{wxevent
}
9 \wxheading{Event table macros
}
11 To process a close event, use these event handler macros to direct input to member
12 functions that take a wxCloseEvent argument.
15 \begin{twocollist
}\itemsep=
0pt
16 \twocolitem{{\bf EVT
\_CLOSE(func)
}}{Process a close event, supplying the member function.
}
21 \helpref{wxWindow::OnCloseWindow
}{wxwindowonclosewindow
},
\rtfsp
22 \helpref{wxWindow::Close
}{wxwindowclose
},
\rtfsp
23 \helpref{Window deletion overview
}{windowdeletionoverview
}
25 \latexignore{\rtfignore{\wxheading{Members
}}}
27 \membersection{wxCloseEvent::wxCloseEvent
}
29 \func{}{wxCloseEvent
}{\param{WXTYPE
}{ commandEventType =
0},
\param{int
}{ id =
0}}
33 \membersection{wxCloseEvent::GetLoggingOff
}\label{wxcloseeventgetloggingoff
}
35 \constfunc{bool
}{GetLoggingOff
}{\void}
37 Returns TRUE if the user is logging off.
39 \membersection{wxCloseEvent::GetSessionEnding
}\label{wxcloseeventgetsessionending
}
41 \constfunc{bool
}{GetSessionEnding
}{\void}
43 Returns TRUE if the session is ending.
45 \membersection{wxCloseEvent::GetForce
}\label{wxcloseeventgetforce
}
47 \constfunc{void
}{GetForce
}{\void}
49 Returns TRUE if the application wishes to force the window to close.
51 \membersection{wxCloseEvent::Veto
}\label{wxcloseeventveto
}
53 \func{void
}{Veto
}{\void}
55 Call this from your event handler to veto a system shutdown.