X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f72e03b222e573e4b1311c27ae8cdc31b90be94b..f8d0234d39c66f3d1d7fc2346562cb96c8c7be20:/src/osx/carbon/graphics.cpp diff --git a/src/osx/carbon/graphics.cpp b/src/osx/carbon/graphics.cpp index 33bd0dde0d..98ce41f0d8 100644 --- a/src/osx/carbon/graphics.cpp +++ b/src/osx/carbon/graphics.cpp @@ -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; }