X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/html/helpwnd.h?ds=inline diff --git a/include/wx/html/helpwnd.h b/include/wx/html/helpwnd.h index 42f05b5dc0..c8b05f5614 100644 --- a/include/wx/html/helpwnd.h +++ b/include/wx/html/helpwnd.h @@ -128,6 +128,7 @@ public: bool KeywordSearch(const wxString& keyword, wxHelpSearchMode mode = wxHELP_SEARCH_ALL); +#if wxUSE_CONFIG void UseConfig(wxConfigBase *config, const wxString& rootpath = wxEmptyString) { m_Config = config; @@ -140,6 +141,7 @@ public: // saved values : things set by SetFonts, SetBorders. void ReadCustomization(wxConfigBase *cfg, const wxString& path = wxEmptyString); void WriteCustomization(wxConfigBase *cfg, const wxString& path = wxEmptyString); +#endif // wxUSE_CONFIG // call this to let wxHtmlHelpWindow know page changed void NotifyPageChanged(); @@ -229,8 +231,10 @@ protected: wxHtmlHelpFrameCfg m_Cfg; +#if wxUSE_CONFIG wxConfigBase *m_Config; wxString m_ConfigRoot; +#endif // wxUSE_CONFIG // pagenumbers of controls in notebook (usually 0,1,2) int m_ContentsPage; @@ -269,7 +273,7 @@ private: enum { //wxID_HTML_HELPFRAME = wxID_HIGHEST + 1, - wxID_HTML_PANEL = wxID_HIGHEST + 2, + wxID_HTML_PANEL = wxID_HIGHEST + 10, wxID_HTML_BACK, wxID_HTML_FORWARD, wxID_HTML_UPNODE,