X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d5a0f67c6f127ad08548494cdddc5c89bb27194..4cc52142b82bae7cd5f0159ca8990b551fb15893:/docs/latex/wx/activevt.tex diff --git a/docs/latex/wx/activevt.tex b/docs/latex/wx/activevt.tex index 54102fe920..40902dc5e8 100644 --- a/docs/latex/wx/activevt.tex +++ b/docs/latex/wx/activevt.tex @@ -21,6 +21,10 @@ function that takes a wxActivateEvent argument. \begin{twocollist}\itemsep=0pt \twocolitem{{\bf EVT\_ACTIVATE(func)}}{Process a wxEVT\_ACTIVATE event.} \twocolitem{{\bf EVT\_ACTIVATE\_APP(func)}}{Process a wxEVT\_ACTIVATE\_APP event.} +\twocolitem{{\bf EVT\_HIBERNATE(func)}}{Process a hibernate event, supplying the member function. +This event applies to wxApp only, and only on Windows SmartPhone and PocketPC. It is generated when the +system is low on memory; the application should free up as much memory as possible, and restore +full working when it receives a wxEVT\_ACTIVATE or wxEVT\_ACTIVATE\_APP event.} \end{twocollist}% \wxheading{Remarks} @@ -32,30 +36,25 @@ bar changing colour, and a subwindow gaining the keyboard focus. An application is activated or deactivated when one of its frames becomes activated, or a frame becomes inactivate resulting in all application frames being inactive. (Windows only) +Please note that usually you should call \helpref{event.Skip()}{wxeventskip} in +your handlers for these events as not doing so can result in strange effects. + \wxheading{See also} -\helpref{wxWindow::OnActivate}{wxwindowonactivate},\rtfsp -%% GD: OnXXX functions are not documented -%%\helpref{wxApp::OnActivate}{wxapponactivate},\rtfsp -\helpref{Event handling overview}{eventhandlingoverview} +\helpref{Event handling overview}{eventhandlingoverview},\rtfsp +\helpref{wxApp::IsActive}{wxappisactive} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxActivateEvent::wxActivateEvent} +\membersection{wxActivateEvent::wxActivateEvent}\label{wxactivateeventctor} -\func{}{wxActivateEvent}{\param{WXTYPE }{eventType = 0}, \param{bool}{ active = TRUE}, \param{int }{id = 0}} +\func{}{wxActivateEvent}{\param{WXTYPE }{eventType = 0}, \param{bool}{ active = true}, \param{int }{id = 0}} Constructor. -\membersection{wxActivateEvent::m\_active} - -\member{bool}{m\_active} - -TRUE if the window or application was activated. - \membersection{wxActivateEvent::GetActive}\label{wxactivateeventgetactive} \constfunc{bool}{GetActive}{\void} -Returns TRUE if the application or window is being activated, FALSE otherwise. +Returns true if the application or window is being activated, false otherwise.