]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/chkconf.h
ensure that wxMAC_USE_CORE_GRAPHICS is turned on if wxUSE_GRAPHICS_CONTEXT is
[wxWidgets.git] / include / wx / mac / carbon / chkconf.h
index f9c630775e34105c0e0f39d387ce321a00075655..a876f055b0daea9c54fbefec345e57fccad0ba22 100644 (file)
     #define wxMAC_USE_CORE_GRAPHICS 0
 #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
+
 /*
  * native (1) or emulated (0) toolbar
  */