]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/private.h
Added CmdDown() to grid events
[wxWidgets.git] / include / wx / mac / carbon / private.h
index 3f20c400762e7ee58f614477c1f9c57c5612e85a..11298873af43a4d6c03cb84d8f4d5e28c160d2aa 100644 (file)
@@ -220,7 +220,9 @@ template<> inline EventParamType wxMacGetEventParamType<HISize>() { return typeH
 template<> inline EventParamType wxMacGetEventParamType<HIRect>() { return typeHIRect ; }
 template<> inline EventParamType wxMacGetEventParamType<void*>() { return typeVoidPtr ; }
 #endif
+#if TARGET_API_MAC_OSX && ( MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2 )
 template<> inline EventParamType wxMacGetEventParamType<CFDictionaryRef>() { return typeCFDictionaryRef ; }
+#endif
 template<> inline EventParamType wxMacGetEventParamType<Collection>() { return typeCollection ; }
 template<> inline EventParamType wxMacGetEventParamType<CGContextRef>() { return typeCGContextRef ; }
 /*
@@ -387,7 +389,7 @@ public :
 
     ~wxMacCFRefHolder()
     {
-        CFRelease( m_ref ) ;
+        Release() ;
     }
 
     void Release()
@@ -828,7 +830,7 @@ private :
 
 ControlRef wxMacFindControlUnderMouse( wxTopLevelWindowMac* toplevelWindow, const Point& location , WindowRef window , ControlPartCode *outPart ) ;
 
-#if WORDS_BIGENDIAN
+#ifdef WORDS_BIGENDIAN
     inline Rect* wxMacGetPictureBounds( PicHandle pict , Rect* rect ) 
     { 
        *rect = (**pict).picFrame ;