X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b42468496c00cc7384234093227c03edcf04d84c..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/html/helpfrm.cpp diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 9020ad8b55..c726a936eb 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -89,6 +89,7 @@ void wxHtmlHelpFrame::Init(wxHtmlHelpData* data) m_Data = data; m_HtmlHelpWin = NULL; m_helpController = NULL; + m_shouldPreventAppExit = false; } void wxHtmlHelpFrame::SetController(wxHtmlHelpController* controller) @@ -246,6 +247,11 @@ void wxHtmlHelpFrame::UseConfig(wxConfigBase *config, const wxString& rootPath) } #endif // wxUSE_CONFIG +void wxHtmlHelpFrame::SetShouldPreventAppExit(bool enable) +{ + m_shouldPreventAppExit = enable; +} + #ifdef __WXMAC__ void wxHtmlHelpFrame::OnClose(wxCommandEvent& WXUNUSED(event)) {