X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/397cfa3ae9b44ad6a4cc5328e2637fa886c43e12..4b1ae1539c549eb612e5d2b6876124138ce9cb4e:/src/msw/helpchm.cpp?ds=sidebyside diff --git a/src/msw/helpchm.cpp b/src/msw/helpchm.cpp index ff0459bd6f..7ad6367747 100644 --- a/src/msw/helpchm.cpp +++ b/src/msw/helpchm.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "helpchm.h" #endif @@ -197,7 +197,8 @@ bool wxCHMHelpController::DisplayBlock(long block) return DisplaySection(block); } -bool wxCHMHelpController::KeywordSearch(const wxString& k) +bool wxCHMHelpController::KeywordSearch(const wxString& k, + wxHelpSearchMode WXUNUSED(mode)) { if (m_helpFile.IsEmpty()) return FALSE;