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:
Stefan Csomor
2006-03-02 20:02:44 +00:00
parent 304b9d52cf
commit 5eef2b35e3

View File

@@ -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
{