From: Stefan Csomor Date: Sun, 27 Feb 2005 19:31:10 +0000 (+0000) Subject: guard for 10.2 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/86e9492322866946b1ca35fbbf4ccbe7c54913dc guard for 10.2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index 24cb80549f..bd373e6ef1 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -85,7 +85,7 @@ void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bi info->u.iconRef = bmp->GetIconRef() ; AcquireIconRef( info->u.iconRef ) ; } -#if wxMAC_USE_CORE_GRAPHICS +#if wxMAC_USE_CORE_GRAPHICS && MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2 else if ( forceType == kControlContentCGImageRef ) { info->contentType = kControlContentCGImageRef ;