X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b42468496c00cc7384234093227c03edcf04d84c..062dfc9a96dc9e796c53544f41ff92dc47f26e82:/src/html/helpfrm.cpp?ds=sidebyside 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)) {