guard for 10.2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2005-02-27 19:31:10 +00:00
parent c958d025fa
commit 86e9492322

View File

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