X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e1ed07b52acd24f667354df5e9dc00cfde2a132..7ca4ac63835adef8226b655013a8a84b416c8171:/include/wx/html/helpfrm.h?ds=sidebyside diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h index afe7ae849f..4735ed9391 100644 --- a/include/wx/html/helpfrm.h +++ b/include/wx/html/helpfrm.h @@ -105,6 +105,10 @@ public: // Override to add custom buttons to the toolbar virtual void AddToolbarButtons(wxToolBar* WXUNUSED(toolBar), int WXUNUSED(style)) {}; + // we don't want to prevent the app from closing just because a help window + // remains opened + virtual bool ShouldPreventAppExit() const { return false; } + protected: void Init(wxHtmlHelpData* data = NULL);