X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe1a36a70c2f5ed8a6f9ea0b82005ebb987e5860..d4f392ea20e048c68626a14181cbf78c8baff3a5:/include/wx/osx/chkconf.h diff --git a/include/wx/osx/chkconf.h b/include/wx/osx/chkconf.h index 755cc8c985..77a9ca66c2 100644 --- a/include/wx/osx/chkconf.h +++ b/include/wx/osx/chkconf.h @@ -49,10 +49,18 @@ * using mixins of cocoa functionality */ -#ifndef wxOSX_USE_COCOA +#ifdef __WXOSX_COCOA__ + #define wxOSX_USE_COCOA 1 +#else #define wxOSX_USE_COCOA 0 #endif +#ifdef __WXOSX_CARBON__ + #define wxOSX_USE_CARBON 1 +#else + #define wxOSX_USE_CARBON 0 +#endif + /* * setting flags according to the platform */ @@ -66,15 +74,9 @@ #define wxOSX_USE_IPHONE 0 #else #ifdef __WXOSX_IPHONE__ - #define wxOSX_USE_CARBON 0 #define wxOSX_USE_IPHONE 1 #else #define wxOSX_USE_IPHONE 0 - #if wxOSX_USE_COCOA - #define wxOSX_USE_CARBON 0 - #else - #define wxOSX_USE_CARBON 1 - #endif #endif #endif