+ #if wxMAC_USE_COCOA == 0
+ #undef wxMAC_USE_COCOA
+ #define wxMAC_USE_COCOA 1
+ #endif
+ #define wxMAC_USE_QUICKDRAW 0
+#else
+ #define wxMAC_USE_QUICKDRAW 1
+#endif
+
+/*
+ * text rendering system
+ */
+
+/* we have different options and we turn on all that make sense
+ * under a certain platform
+ */
+
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
+
+#define wxMAC_USE_CORE_TEXT 1
+#define wxMAC_USE_ATSU_TEXT 0
+
+#else // platform < 10.5
+
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
+#define wxMAC_USE_CORE_TEXT 1
+#else
+#define wxMAC_USE_CORE_TEXT 0
+#endif
+#define wxMAC_USE_ATSU_TEXT 1