X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ba7c4e62f008c640f8284de3e61c63882faeb9a..8d5ff32d33ad07acb9c1824368fbbe954b601bbb:/src/mac/carbon/utils.cpp diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index c874c4131e..0a18f998c2 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -1554,10 +1554,6 @@ CMProfileRef wxMacOpenGenericProfile() return it whenever this function is called. */ -#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4 -#define kCGColorSpaceGenericRGB CFSTR("kCGColorSpaceGenericRGB") -#endif - CGColorSpaceRef wxMacGetGenericRGBColorSpace() { static wxMacCFRefHolder genericRGBColorSpace ; @@ -1566,7 +1562,7 @@ CGColorSpaceRef wxMacGetGenericRGBColorSpace() { if ( UMAGetSystemVersion() >= 0x1040 ) { - genericRGBColorSpace.Set( CGColorSpaceCreateWithName( kCGColorSpaceGenericRGB ) ) ; + genericRGBColorSpace.Set( CGColorSpaceCreateWithName( CFSTR("kCGColorSpaceGenericRGB") ) ) ; } else {