X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e40298d54ecd5b109222a7c60aa2ef084a304d69..ba1e9d6cede4073faf42e3e290a030965a2205c3:/include/wx/mac/helpxxxx.h diff --git a/include/wx/mac/helpxxxx.h b/include/wx/mac/helpxxxx.h index 9351360ce3..a33c0737a5 100644 --- a/include/wx/mac/helpxxxx.h +++ b/include/wx/mac/helpxxxx.h @@ -13,7 +13,7 @@ #ifndef _WX_HELPXXXX_H_ #define _WX_HELPXXXX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "helpxxxx.h" #endif @@ -37,7 +37,8 @@ class WXDLLEXPORT wxXXXXHelpController: 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();