X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db12374b74cd88666f0f37b6a27828009ae7e34e..42eba91294e1c374908b63bdc5f22a5c4c29f110:/include/wx/mac/carbon/chkconf.h diff --git a/include/wx/mac/carbon/chkconf.h b/include/wx/mac/carbon/chkconf.h index f9c630775e..44e434865c 100644 --- a/include/wx/mac/carbon/chkconf.h +++ b/include/wx/mac/carbon/chkconf.h @@ -31,7 +31,14 @@ */ #ifndef wxMAC_USE_CORE_GRAPHICS - #define wxMAC_USE_CORE_GRAPHICS 0 + #define wxMAC_USE_CORE_GRAPHICS 1 +#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 /* @@ -39,7 +46,7 @@ */ #ifndef wxMAC_USE_NATIVE_TOOLBAR - #define wxMAC_USE_NATIVE_TOOLBAR 0 + #define wxMAC_USE_NATIVE_TOOLBAR 1 #endif #endif