X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3755cfa64d2f5182ec88d9d0bf934769e0269d10..392c5133ff8aba785fece7aef8f63f99843e8aa1:/include/wx/html/helpfrm.h diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h index 4adbd42141..4735ed9391 100644 --- a/include/wx/html/helpfrm.h +++ b/include/wx/html/helpfrm.h @@ -29,7 +29,7 @@ #include "wx/checkbox.h" #include "wx/stattext.h" #include "wx/html/htmlwin.h" -#include "wx/html/helpwin.h" +#include "wx/html/helpwnd.h" #include "wx/html/htmprint.h" class WXDLLIMPEXP_CORE wxButton; @@ -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);