]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/carbon/chkconf.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / osx / carbon / chkconf.h
1 /*
2 * Name: wx/osx/carbon/chkconf.h
3 * Purpose: Compiler-specific configuration checking
4 * Author: Julian Smart
5 * Modified by:
6 * Created: 01/02/97
7 * Copyright: (c) Julian Smart
8 * Licence: wxWindows licence
9 */
10
11 #ifndef _WX_OSX_CARBON_CHKCONF_H_
12 #define _WX_OSX_CARBON_CHKCONF_H_
13
14 /*
15 * native (1) or emulated (0) toolbar
16 * also support old notation wxMAC_USE_NATIVE_TOOLBAR
17 */
18
19
20
21 #ifdef wxMAC_USE_NATIVE_TOOLBAR
22 #define wxOSX_USE_NATIVE_TOOLBAR wxMAC_USE_NATIVE_TOOLBAR
23 #endif
24
25 #ifndef wxOSX_USE_NATIVE_TOOLBAR
26 #define wxOSX_USE_NATIVE_TOOLBAR 1
27 #endif
28
29 /*
30 * text rendering system
31 */
32
33 #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
34
35 #define wxOSX_USE_CORE_TEXT 1
36 // MLTE-TextControl uses ATSU
37 #define wxOSX_USE_ATSU_TEXT 1
38
39 #else // platform < 10.5
40
41 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
42 #define wxOSX_USE_CORE_TEXT 1
43 #else
44 #define wxOSX_USE_CORE_TEXT 0
45 #endif
46 #define wxOSX_USE_ATSU_TEXT 1
47
48 #endif
49
50 /*
51 * Audio System
52 */
53
54 #define wxOSX_USE_QUICKTIME 1
55 #define wxOSX_USE_AUDIOTOOLBOX 0
56
57 #endif
58 /* _WX_OSX_CARBON_CHKCONF_H_ */
59