fix unresolved symbol under 10.3.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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<CGColorSpaceRef> genericRGBColorSpace ;
|
||||
@@ -1566,7 +1562,7 @@ CGColorSpaceRef wxMacGetGenericRGBColorSpace()
|
||||
{
|
||||
if ( UMAGetSystemVersion() >= 0x1040 )
|
||||
{
|
||||
genericRGBColorSpace.Set( CGColorSpaceCreateWithName( kCGColorSpaceGenericRGB ) ) ;
|
||||
genericRGBColorSpace.Set( CGColorSpaceCreateWithName( CFSTR("kCGColorSpaceGenericRGB") ) ) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user