]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpwin.cpp
fixed crash on startup under GTK
[wxWidgets.git] / src / msw / helpwin.cpp
index cdcaa376288bd53ebc420a2e78911b256f360f03..abaa425609b7dbfe36620e2a780214ca006ac20c 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "helpwin.h"
 #endif
 
@@ -98,7 +98,8 @@ bool wxWinHelpController::DisplayBlock(long block)
     return TRUE;
 }
 
-bool wxWinHelpController::KeywordSearch(const wxString& k)
+bool wxWinHelpController::KeywordSearch(const wxString& k,
+                                        wxHelpSearchMode WXUNUSED(mode))
 {
     if (m_helpFile.IsEmpty()) return FALSE;