10.2 fix for CG

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton 2005-02-14 03:46:28 +00:00
parent e05a12c99d
commit df21986cb7

View File

@ -242,7 +242,7 @@ void wxMacReleaseBitmapButton( ControlButtonContentInfo*info )
{
ReleaseIconRef(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 ( info->contentType == kControlContentCGImageRef )
{
CGImageRelease( info->u.imageRef ) ;