]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/carbon/chkconf.h
2 * Name: wx/osx/carbon/chkconf.h
3 * Purpose: Compiler-specific configuration checking
8 * Copyright: (c) Julian Smart
9 * Licence: wxWindows licence
12 #ifndef _WX_OSX_CARBON_CHKCONF_H_
13 #define _WX_OSX_CARBON_CHKCONF_H_
16 * native (1) or emulated (0) toolbar
17 * also support old notation wxMAC_USE_NATIVE_TOOLBAR
22 #ifdef wxMAC_USE_NATIVE_TOOLBAR
23 #define wxOSX_USE_NATIVE_TOOLBAR wxMAC_USE_NATIVE_TOOLBAR
26 #ifndef wxOSX_USE_NATIVE_TOOLBAR
27 #define wxOSX_USE_NATIVE_TOOLBAR 1
31 * text rendering system
34 #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
36 #define wxOSX_USE_CORE_TEXT 1
37 // MLTE-TextControl uses ATSU
38 #define wxOSX_USE_ATSU_TEXT 1
40 #else // platform < 10.5
42 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
43 #define wxOSX_USE_CORE_TEXT 1
45 #define wxOSX_USE_CORE_TEXT 0
47 #define wxOSX_USE_ATSU_TEXT 1
52 /* _WX_OSX_CARBON_CHKCONF_H_ */