X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57d3e26697255a5c5154b4a0dc26d6eab23ff871..fe104ff925ac53779d25280112401874089276b0:/src/osx/carbon/graphics.cpp diff --git a/src/osx/carbon/graphics.cpp b/src/osx/carbon/graphics.cpp index 70edc2f83f..4b1df9cdca 100644 --- a/src/osx/carbon/graphics.cpp +++ b/src/osx/carbon/graphics.cpp @@ -1804,7 +1804,11 @@ bool wxMacCoreGraphicsContext::SetInterpolationQuality(wxInterpolationQuality in quality = kCGInterpolationLow; break; case wxINTERPOLATION_GOOD: +#if wxOSX_USE_COCOA_OR_CARBON quality = UMAGetSystemVersion() < 0x1060 ? kCGInterpolationHigh : (CGInterpolationQuality) 4 /*kCGInterpolationMedium only on 10.6*/; +#else + quality = kCGInterpolationMedium; +#endif break; case wxINTERPOLATION_BEST: quality = kCGInterpolationHigh;