]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/helpfrm.h
allocate HPEN on demand instead of doing every time a pen property is modified; also...
[wxWidgets.git] / include / wx / html / helpfrm.h
index f543ee41a8ca0b416ba7ada7833a7a73dc3e34cd..4c53f11e40a2370310045f5f673e9ede93253699 100644 (file)
@@ -74,9 +74,11 @@ public:
     wxHtmlHelpFrame(wxHtmlHelpData* data = NULL) { Init(data); }
     wxHtmlHelpFrame(wxWindow* parent, wxWindowID wxWindowID,
                     const wxString& title = wxEmptyString,
-                    int style = wxHF_DEFAULT_STYLE, wxHtmlHelpData* data = NULL);
+                    int style = wxHF_DEFAULT_STYLE, wxHtmlHelpData* data = NULL,
+                    wxConfigBase *config=NULL, const wxString& rootpath = wxEmptyString);
     bool Create(wxWindow* parent, wxWindowID id, const wxString& title = wxEmptyString,
-                int style = wxHF_DEFAULT_STYLE);
+                int style = wxHF_DEFAULT_STYLE,
+                wxConfigBase *config=NULL, const wxString& rootpath = wxEmptyString);
     virtual ~wxHtmlHelpFrame();
 
     /// Returns the data associated with the window.
@@ -107,7 +109,7 @@ public:
 
     // we don't want to prevent the app from closing just because a help window
     // remains opened
-    virtual bool ShouldPreventAppExit() const { return false; }
+    virtual bool ShouldPreventAppExit() const;
 
 protected:
     void Init(wxHtmlHelpData* data = NULL);