added wxTLW::ShouldPreventAppExit() which can be overridden to allow closing the application even if some windows are still opened; use it for wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -263,6 +263,17 @@ Sets the window title.
|
||||
\helpref{wxTopLevelWindow::GetTitle}{wxtoplevelwindowgettitle}
|
||||
|
||||
|
||||
\membersection{wxTopLevelWindow::ShouldPreventAppExit}\label{wxtoplevelwindowshouldpreventappexit}
|
||||
|
||||
\constfunc{virtual bool}{ShouldPreventAppExit}{\void}
|
||||
|
||||
This virtual function is not meant to be called directly but can be overridden
|
||||
to return \false (it returns \true by default) to allow the application to
|
||||
close even if this, presumably not very important, window is still opened.
|
||||
By default, the application stays alive as long as there are any open top level
|
||||
windows.
|
||||
|
||||
|
||||
\membersection{wxTopLevelWindow::ShowFullScreen}\label{wxtoplevelwindowshowfullscreen}
|
||||
|
||||
\func{bool}{ShowFullScreen}{\param{bool}{ show}, \param{long}{ style = wxFULLSCREEN\_ALL}}
|
||||
|
Reference in New Issue
Block a user