]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/helpxxxx.cpp
For consistency with the other ports don't send an event when a radio
[wxWidgets.git] / src / mac / carbon / helpxxxx.cpp
index f41727e61b661f78ece72e15c30a1fd960361ace..e330ce2d7981a4546a1a9b481eadcc7c572390d9 100644 (file)
@@ -9,10 +9,12 @@
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "helpxxxx.h"
 #endif
 
+#include "wx/wxprec.h"
+
 #include "wx/stubs/helpxxxx.h"
 
 #include <string.h>
@@ -62,7 +64,8 @@ bool wxXXXXHelpController::DisplayBlock(long block)
     return FALSE;
 }
 
-bool wxXXXXHelpController::KeywordSearch(const wxString& k)
+bool wxXXXXHelpController::KeywordSearch(const wxString& k,
+                                         wxHelpSearchMode WXUNUSED(mode))
 {
     if (m_helpFile == "") return FALSE;