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:
parent
e05a12c99d
commit
df21986cb7
@ -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 ) ;
|
||||
|
Loading…
Reference in New Issue
Block a user