From 3f1ad07b3e7824774a1743323f571281a0cb5240 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Mon, 17 Jul 2006 17:54:39 +0000 Subject: [PATCH] Compile fix for OS X 10.2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40165 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 cc22e44921..4b2a1526b4 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -397,7 +397,7 @@ IconRef wxBitmapRefData::GetIconRef() SetIconFamilyData( iconFamily, 'PICT' , (Handle) pic ) ; } // transform into IconRef -#ifdef __WXMAC_OSX__ +#if defined( __WXMAC_OSX__ ) && MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2 // cleaner version existing from 10.3 upwards HLock((Handle) iconFamily); OSStatus err = GetIconRefFromIconFamilyPtr( *iconFamily, GetHandleSize((Handle) iconFamily), &m_iconRef ); -- 2.50.0