]>
Commit | Line | Data |
---|---|---|
5c6eb3a8 | 1 | /* |
b46f221f | 2 | * Name: wx/osx/carbon/chkconf.h |
5c6eb3a8 SC |
3 | * Purpose: Compiler-specific configuration checking |
4 | * Author: Julian Smart | |
5 | * Modified by: | |
6 | * Created: 01/02/97 | |
7 | * RCS-ID: $Id$ | |
8 | * Copyright: (c) Julian Smart | |
9 | * Licence: wxWindows licence | |
10 | */ | |
11 | ||
b46f221f SC |
12 | #ifndef _WX_OSX_CARBON_CHKCONF_H_ |
13 | #define _WX_OSX_CARBON_CHKCONF_H_ | |
5c6eb3a8 SC |
14 | |
15 | /* | |
16 | * native (1) or emulated (0) toolbar | |
b46f221f | 17 | * also support old notation wxMAC_USE_NATIVE_TOOLBAR |
5c6eb3a8 SC |
18 | */ |
19 | ||
5c6eb3a8 | 20 | |
5c6eb3a8 | 21 | |
b46f221f SC |
22 | #ifdef wxMAC_USE_NATIVE_TOOLBAR |
23 | #define wxOSX_USE_NATIVE_TOOLBAR wxMAC_USE_NATIVE_TOOLBAR | |
bcb07ff0 SC |
24 | #endif |
25 | ||
b46f221f SC |
26 | #ifndef wxOSX_USE_NATIVE_TOOLBAR |
27 | #define wxOSX_USE_NATIVE_TOOLBAR 1 | |
bcb07ff0 SC |
28 | #endif |
29 | ||
03647350 VZ |
30 | /* |
31 | * text rendering system | |
5c6eb3a8 SC |
32 | */ |
33 | ||
5c6eb3a8 SC |
34 | #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 |
35 | ||
b46f221f | 36 | #define wxOSX_USE_CORE_TEXT 1 |
beb2638a SC |
37 | // MLTE-TextControl uses ATSU |
38 | #define wxOSX_USE_ATSU_TEXT 1 | |
5c6eb3a8 SC |
39 | |
40 | #else // platform < 10.5 | |
41 | ||
bcb07ff0 | 42 | #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 |
b46f221f | 43 | #define wxOSX_USE_CORE_TEXT 1 |
bcb07ff0 | 44 | #else |
b46f221f | 45 | #define wxOSX_USE_CORE_TEXT 0 |
bcb07ff0 | 46 | #endif |
b46f221f | 47 | #define wxOSX_USE_ATSU_TEXT 1 |
5c6eb3a8 SC |
48 | |
49 | #endif | |
50 | ||
4e16d05a SC |
51 | /* |
52 | * Audio System | |
53 | */ | |
54 | ||
55 | #define wxOSX_USE_QUICKTIME 1 | |
0770c0a0 | 56 | #define wxOSX_USE_AUDIOTOOLBOX 0 |
4e16d05a | 57 | |
5c6eb3a8 | 58 | #endif |
b46f221f | 59 | /* _WX_OSX_CARBON_CHKCONF_H_ */ |
5c6eb3a8 | 60 |