]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/helpwnd.h
Change wxSP_XXX flags values to avoid clashes with wxTE_XXX.
[wxWidgets.git] / include / wx / html / helpwnd.h
index cfe0bad1a627b00da8b05efd8c29a6b9788ee78d..3b80f92fbd3d423ad27fc874f42377185fadf9a6 100644 (file)
@@ -28,6 +28,7 @@
 #include "wx/combobox.h"
 #include "wx/checkbox.h"
 #include "wx/stattext.h"
+#include "wx/hash.h"
 #include "wx/html/htmlwin.h"
 #include "wx/html/htmprint.h"
 
@@ -127,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;
@@ -139,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();
@@ -228,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;
@@ -258,7 +263,7 @@ private:
     wxHtmlHelpMergedIndex *m_mergedIndex;
 
     DECLARE_EVENT_TABLE()
-    DECLARE_NO_COPY_CLASS(wxHtmlHelpWindow)
+    wxDECLARE_NO_COPY_CLASS(wxHtmlHelpWindow);
 };
 
 /*!