]> git.saurik.com Git - wxWidgets.git/commitdiff
Missed one symbol used in the compatibility path.
authorKevin Ollivier <kevino@theolliviers.com>
Sun, 22 Feb 2009 21:30:30 +0000 (21:30 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sun, 22 Feb 2009 21:30:30 +0000 (21:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/graphics.cpp

index 33bd0dde0d8fee81f4139536d9efb529da221001..98ce41f0d8d54a139acb225bb1298f63a9bda85f 100644 (file)
@@ -1737,9 +1737,11 @@ bool wxMacCoreGraphicsContext::SetCompositionMode(wxCompositionMode op)
         case wxCOMPOSITION_XOR:
             cop = kCGCompositeOperationXOR; 
             break;
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
         case wxCOMPOSITION_ADD:
             mode = kCGBlendModePlusLighter ;
             break;
+#endif
         default:
             return false;
         }