From b1fd3badf513567620a81ea8a428b6c9b7753954 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 7 Apr 2006 18:56:13 +0000 Subject: [PATCH] applied patch 1465549 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/private.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/mac/carbon/private.h b/include/wx/mac/carbon/private.h index e062779fc9..11298873af 100644 --- a/include/wx/mac/carbon/private.h +++ b/include/wx/mac/carbon/private.h @@ -220,7 +220,9 @@ template<> inline EventParamType wxMacGetEventParamType() { return typeH template<> inline EventParamType wxMacGetEventParamType() { return typeHIRect ; } template<> inline EventParamType wxMacGetEventParamType() { return typeVoidPtr ; } #endif +#if TARGET_API_MAC_OSX && ( MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2 ) template<> inline EventParamType wxMacGetEventParamType() { return typeCFDictionaryRef ; } +#endif template<> inline EventParamType wxMacGetEventParamType() { return typeCollection ; } template<> inline EventParamType wxMacGetEventParamType() { return typeCGContextRef ; } /* @@ -387,7 +389,7 @@ public : ~wxMacCFRefHolder() { - CFRelease( m_ref ) ; + Release() ; } void Release() -- 2.50.0