fixing iphone build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2011-06-18 15:23:39 +00:00
parent 23dad6aac2
commit 2ebfa9c04c

View File

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