X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb9010ed40454cc978a9cbaa6de2ee41ea8b6c84..8c9f8f91cd62335261ee29762747218f28d129de:/include/wx/os2/helpwin.h?ds=inline diff --git a/include/wx/os2/helpwin.h b/include/wx/os2/helpwin.h index 4b52caf81b..c38ea9f657 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 @@ -32,7 +34,8 @@ class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase virtual bool DisplayContents(); virtual bool DisplaySection(int sectionNo); virtual bool DisplayBlock(long blockNo); - virtual bool KeywordSearch(const wxString& k); + virtual bool KeywordSearch(const wxString& k, + wxHelpSearchMode mode = wxHELP_SEARCH_ALL); virtual bool Quit(); virtual void OnQuit(); @@ -42,9 +45,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_