]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/chkconf.h
split wxEVT_GRID_CELL_CHANGE into wxEVT_GRID_CELL_CHANGING/ED pair for consistency...
[wxWidgets.git] / include / wx / osx / chkconf.h
index 755cc8c9859b32aacb16685faea3cd767d0d5001..77a9ca66c2aa144e00ec0808d08cf8886a8da95a 100644 (file)
  * using mixins of cocoa functionality
  */
  
-#ifndef wxOSX_USE_COCOA
+#ifdef __WXOSX_COCOA__
+    #define wxOSX_USE_COCOA 1
+#else
     #define wxOSX_USE_COCOA 0
 #endif
 
+#ifdef __WXOSX_CARBON__
+    #define wxOSX_USE_CARBON 1
+#else
+    #define wxOSX_USE_CARBON 0
+#endif
+
 /*
  * setting flags according to the platform
  */
     #define wxOSX_USE_IPHONE 0
 #else
     #ifdef __WXOSX_IPHONE__
-        #define wxOSX_USE_CARBON 0
         #define wxOSX_USE_IPHONE 1
     #else
         #define wxOSX_USE_IPHONE 0
-        #if wxOSX_USE_COCOA
-            #define wxOSX_USE_CARBON 0
-        #else
-            #define wxOSX_USE_CARBON 1
-        #endif
     #endif
 #endif