From: Ryan Norton Date: Mon, 14 Feb 2005 03:46:28 +0000 (+0000) Subject: 10.2 fix for CG X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/df21986cb7d7d33a8c28a2c60930532a7a53233c 10.2 fix for CG git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index f27549a11a..28c71c4336 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -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 ) ;