X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb9010ed40454cc978a9cbaa6de2ee41ea8b6c84..d2ce649bec85c2c0764a0f786d2b1ef444321404:/include/wx/os2/helpwin.h 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_