]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/chkconf.h
compilation fix after last change
[wxWidgets.git] / include / wx / mac / carbon / chkconf.h
index a7759ef6f32a6b6b9b75a2106559bf7ba44534ef..294804f479b7e97c0b681731a96f0d4f2c3dda91 100644 (file)
  */
 
 #ifndef wxMAC_USE_CORE_GRAPHICS
-    #define wxMAC_USE_CORE_GRAPHICS 0
+    #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
+ */
+#if wxUSE_GRAPHICS_CONTEXT && !wxMAC_USE_CORE_GRAPHICS
+#   error "wxUSE_GRAPHICS_CONTEXT on wxMac requires wxMAC_USE_CORE_GRAPHICS"
 #endif
 
 /*