]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wxshlba_cwc.pch++
skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can...
[wxWidgets.git] / include / wxshlba_cwc.pch++
index 79d7649b43856fd2b389df94a5bdd9e71758314e..325f57675984dec55bffdae3bfea464696382de0 100644 (file)
@@ -5,7 +5,9 @@
        #error "illegal processor for carbon"
 #endif
 #else
-#if __POWERPC__
+#ifdef __MACH__
+       #pragma precompile_target "wxshlba_Mach++.mch"
+#elif __POWERPC__
        #pragma precompile_target "wxshlba_Carbon++.mch"
 #else
        #error "illegal processor for carbon"
 #define wxUSE_GUI 1
 #define TARGET_CARBON 1
 #define OLDP2C 1
+#ifdef __MACH__
+       #define __DARWIN__
+       #define __CF_USE_FRAMEWORK_INCLUDES__
+       #define __NOEXTENSIONS__
+       #define __UNIX__
+       #define __UNIX_LIKE__
+    #define HAVE_USLEEP 1
+    #define HAVE_FCNTL  1
+    #define HAVE_UNAME  1
+#endif
 
 #include "wx/wx_cw_cm.h"
-#include "wx/wxprec.h"
\ No newline at end of file
+#ifdef WX_PRECOMP
+#include "wx/wxprec.h"
+#endif
\ No newline at end of file