X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb9010ed40454cc978a9cbaa6de2ee41ea8b6c84..19e30148e18cc99296b26503c155e5cef59045f4:/include/wx/os2/helpwin.h?ds=sidebyside diff --git a/include/wx/os2/helpwin.h b/include/wx/os2/helpwin.h index 4b52caf81b..974ec9c38c 100644 --- a/include/wx/os2/helpwin.h +++ b/include/wx/os2/helpwin.h @@ -14,6 +14,8 @@ #include "wx/wx.h" +#if wxUSE_HELP + #include "wx/helpbase.h" class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase @@ -42,9 +44,12 @@ class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase 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_