]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/button.cpp
pragma and prec-header patch applied
[wxWidgets.git] / src / mac / carbon / button.cpp
index 28b8697630fa1bdbf25d6fd19c2080bd4e2d706d..0298236cc3b4b4d28f47052dcdc0fa5839857155 100644 (file)
@@ -9,11 +9,11 @@
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "button.h"
 #endif
 
-#include "wx/defs.h"
+#include "wx/wxprec.h"
 
 #include "wx/button.h"
 #include "wx/panel.h"