X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3f1f8d82c3b93cb672b326e962666dafbc913d6..d8416992be62932d7dbc91a27a8bcf4b4a6db390:/include/wx/mac/carbon/chkconf.h diff --git a/include/wx/mac/carbon/chkconf.h b/include/wx/mac/carbon/chkconf.h index 44e434865c..ec1bfa37ff 100644 --- a/include/wx/mac/carbon/chkconf.h +++ b/include/wx/mac/carbon/chkconf.h @@ -20,7 +20,7 @@ #undef wxUSE_DEBUG_NEW_ALWAYS #define wxUSE_DEBUG_NEW_ALWAYS 0 - /* DS: Fixes compilation when wxUSE_FATAL_EXCEPTION is 1 */ + /* DS: Fixes compilation when wxUSE_ON_FATAL_EXCEPTION is 1 */ #ifndef wxTYPE_SA_HANDLER #define wxTYPE_SA_HANDLER int #endif @@ -34,6 +34,15 @@ #define wxMAC_USE_CORE_GRAPHICS 1 #endif +/* + * wxMAC_USE_CORE_GRAPHICS is now implemented in terms of wxUSE_GRAPHICS_CONTEXT + */ + +#if wxMAC_USE_CORE_GRAPHICS + #undef wxUSE_GRAPHICS_CONTEXT + #define wxUSE_GRAPHICS_CONTEXT 1 +#endif + /* * check graphics context option */