]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/chkconf.h
optimise startup of wxDataViewIndexListModel
[wxWidgets.git] / include / wx / mac / carbon / chkconf.h
index 44e434865c000d83d9e989df7f31ffd3ea6da3fc..25ab6194ee3f3ed15aec8a704085b21c2586e13b 100644 (file)
@@ -20,7 +20,7 @@
     #undef wxUSE_DEBUG_NEW_ALWAYS
     #define wxUSE_DEBUG_NEW_ALWAYS      0
 
-    /* DS: Fixes compilation when wxUSE_FATAL_EXCEPTION is 1 */
+    /* DS: Fixes compilation when wxUSE_ON_FATAL_EXCEPTION is 1 */
     #ifndef wxTYPE_SA_HANDLER
         #define wxTYPE_SA_HANDLER int
     #endif
     #define wxMAC_USE_CORE_GRAPHICS 1
 #endif
 
+/*
+ * wxMAC_USE_CORE_GRAPHICS is now implemented in terms of wxUSE_GRAPHICS_CONTEXT
+ */
+#if wxMAC_USE_CORE_GRAPHICS 
+       #undef wxUSE_GRAPHICS_CONTEXT
+       #define wxUSE_GRAPHICS_CONTEXT 1
+#endif
+
 /*
  * check graphics context option
  */
     #define wxMAC_USE_NATIVE_TOOLBAR 1
 #endif
 
+/*
+ * using mixins of cocoa functionality
+ */
+#ifndef wxMAC_USE_COCOA
+    #define wxMAC_USE_COCOA 0
+#endif
+
 #endif
     /* _WX_MAC_CHKCONF_H_ */