]> git.saurik.com Git - wxWidgets.git/commitdiff
adding missing typedefs for 10.4
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 15 Oct 2006 07:57:03 +0000 (07:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 15 Oct 2006 07:57:03 +0000 (07:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/private.h

index 2b30c8fcc1b2ce35d90b843efdf943e6f962e594..f45168ed628fae69d99a86f6442a156adb0b86ee 100644 (file)
     #define MAC_OS_X_VERSION_10_4 1040
 #endif
 
+#ifndef MAC_OS_X_VERSION_10_5
+    #define MAC_OS_X_VERSION_10_5 1050
+#endif
+
 #ifdef __WXMAC_CARBON__
 #include "wx/mac/corefoundation/cfstring.h"
 #endif
@@ -60,6 +64,11 @@ inline int    FixedToInt( Fixed inFixed )
 }
 #endif
 
+#if MAC_OS_X_VERSION_MAX_REQUIRED < MAC_OS_X_VERSION_10_5
+typedef UInt32 URefCon;
+typedef SInt32 SRefCon;
+#endif
+
 #if wxUSE_GUI
 
 #include "wx/listbox.h"