]> git.saurik.com Git - wxWidgets.git/commitdiff
fix unresolved symbol under 10.3.9
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 2 Mar 2006 20:02:44 +0000 (20:02 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 2 Mar 2006 20:02:44 +0000 (20:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/utils.cpp

index c874c4131e37e63923931fdd130049dd10cbbf09..0a18f998c2e030aed2b3b04083cf5a190397dd85 100644 (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
         {