]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/control.cpp
Fix STL compilation (note: this is not the correct fix, but since
[wxWidgets.git] / src / mac / carbon / control.cpp
index e7fa4ffe52e87b34701a03d05f7ede475b977c8d..66c8c8f7c500a1dea40a97c8e25a1ce943c3ce7e 100644 (file)
@@ -9,11 +9,11 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "control.h"
 #endif
 
-#include "wx/defs.h"
+#include "wx/wxprec.h"
 
 #include "wx/control.h"
 #include "wx/panel.h"