]> git.saurik.com Git - wxWidgets.git/commitdiff
ensure that wxMAC_USE_CORE_GRAPHICS is turned on if wxUSE_GRAPHICS_CONTEXT is
authorRobin Dunn <robin@alldunn.com>
Thu, 5 Oct 2006 22:53:06 +0000 (22:53 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 5 Oct 2006 22:53:06 +0000 (22:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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
  */