From 7a14d082781b02534b53462245c24e99a1db2926 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 5 Oct 2006 22:53:06 +0000 Subject: [PATCH] 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 --- include/wx/mac/carbon/chkconf.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 */ -- 2.50.0