]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/chkconf.h
tentative fix for BestSize problems (non-native toolbar)
[wxWidgets.git] / include / wx / mac / carbon / chkconf.h
index c35ffb506bfbf1f412abc129f852b60aadf1ae81..f9c630775e34105c0e0f39d387ce321a00075655 100644 (file)
@@ -6,7 +6,7 @@
  * Created:     01/02/97
  * RCS-ID:      $Id$
  * Copyright:   (c) Julian Smart
- * Licence:     wxWidgets licence
+ * Licence:     wxWindows licence
  */
 
 #ifndef _WX_MAC_CHKCONF_H_
  * disable the settings which don't work for some compilers
  */
 
-/*
- * wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior
- */
-
 #if defined(__MWERKS__)
     #undef wxUSE_DEBUG_NEW_ALWAYS
     #define wxUSE_DEBUG_NEW_ALWAYS      0
+
+    /* DS: Fixes compilation when wxUSE_FATAL_EXCEPTION is 1 */
+    #ifndef wxTYPE_SA_HANDLER
+        #define wxTYPE_SA_HANDLER int
+    #endif
+#endif
+
+/*
+ * use OS X CoreGraphics (1) or QuickDraw (0) for rendering
+ */
+
+#ifndef wxMAC_USE_CORE_GRAPHICS
+    #define wxMAC_USE_CORE_GRAPHICS 0
+#endif
+
+/*
+ * native (1) or emulated (0) toolbar
+ */
+
+#ifndef wxMAC_USE_NATIVE_TOOLBAR
+    #define wxMAC_USE_NATIVE_TOOLBAR 0
 #endif
 
 #endif