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
This commit is contained in:
Robin Dunn 2006-10-05 22:53:06 +00:00
parent 2713e62971
commit 7a14d08278

View File

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