]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/helpwin.h
compilation fixes (I wonder how did you people ever compile it...)
[wxWidgets.git] / include / wx / os2 / helpwin.h
index 4b52caf81b1dd78bb5c0816cd89b91d6a4ab86d7..974ec9c38cfbd5d4f5a0f82536aa3dabf8332254 100644 (file)
@@ -14,6 +14,8 @@
 
 #include "wx/wx.h"
 
 
 #include "wx/wx.h"
 
+#if wxUSE_HELP
+
 #include "wx/helpbase.h"
 
 class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
 #include "wx/helpbase.h"
 
 class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
@@ -42,9 +44,12 @@ class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
 protected:
   wxString m_helpFile;
 private:
 protected:
   wxString m_helpFile;
 private:
-  // virtual function hiding supression :: do not use
-    bool Initialize(const wxString& file, int WXUNUSED(server) ) { return(Initialize(file)); }
+    // virtual function hiding supression :: do not use
+    bool Initialize(const wxString& rFile, int WXUNUSED(nServer) ) { return(Initialize(rFile)); }
+    bool DisplaySection(const wxString& rSection) { return wxHelpControllerBase::DisplaySection(rSection); }
 };
 
 };
 
+#endif //wxUSE_HELP
+
 #endif
     // _WX_HELPWIN_H_
 #endif
     // _WX_HELPWIN_H_