From: Robin Dunn Date: Thu, 5 Oct 2006 22:53:06 +0000 (+0000) Subject: ensure that wxMAC_USE_CORE_GRAPHICS is turned on if wxUSE_GRAPHICS_CONTEXT is X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7a14d082781b02534b53462245c24e99a1db2926 ensure that wxMAC_USE_CORE_GRAPHICS is turned on if wxUSE_GRAPHICS_CONTEXT is git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/chkconf.h b/include/wx/mac/carbon/chkconf.h index f9c630775e..a876f055b0 100644 --- a/include/wx/mac/carbon/chkconf.h +++ b/include/wx/mac/carbon/chkconf.h @@ -34,6 +34,13 @@ #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 */