+
+/*
+ * setting flags according to the platform
+ */
+
+#ifdef __LP64__
+ #if wxOSX_USE_COCOA == 0
+ #undef wxOSX_USE_COCOA
+ #define wxOSX_USE_COCOA 1
+ #endif
+ #define wxOSX_USE_CARBON 0
+ #define wxOSX_USE_IPHONE 0
+#else
+ #ifdef __WXOSX_IPHONE__
+ #define wxOSX_USE_IPHONE 1
+ #else
+ #define wxOSX_USE_IPHONE 0
+ #endif
+#endif
+
+/*
+ * combination flags
+ */
+
+#if wxOSX_USE_COCOA || wxOSX_USE_CARBON
+ #define wxOSX_USE_COCOA_OR_CARBON 1
+#else
+ #define wxOSX_USE_COCOA_OR_CARBON 0
+#endif
+
+#if wxOSX_USE_COCOA || wxOSX_USE_IPHONE
+ #define wxOSX_USE_COCOA_OR_IPHONE 1
+#else
+ #define wxOSX_USE_COCOA_OR_IPHONE 0
+#endif
+
+#if wxOSX_USE_IPHONE
+ #include "wx/osx/iphone/chkconf.h"
+#elif wxOSX_USE_CARBON
+ #include "wx/osx/carbon/chkconf.h"
+#elif wxOSX_USE_COCOA
+ #include "wx/osx/cocoa/chkconf.h"
+#endif
+
+#endif // _WX_OSX_CHKCONF_H_
\ No newline at end of file