From df21986cb7d7d33a8c28a2c60930532a7a53233c Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Mon, 14 Feb 2005 03:46:28 +0000 Subject: [PATCH] 10.2 fix for CG git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/bitmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ; -- 2.47.2