]>
Commit | Line | Data |
---|---|---|
d423301c SC |
1 | /* |
2 | * Name: wx/osx/cocoa/chkconf.h | |
3 | * Purpose: Compiler-specific configuration checking | |
4 | * Author: Stefan Csomor | |
5 | * Modified by: | |
6 | * Created: 2008-07-30 | |
a9a4f229 | 7 | * RCS-ID: $Id$ |
d423301c SC |
8 | * Copyright: (c) Stefan Csomor |
9 | * Licence: wxWindows licence | |
10 | */ | |
11 | ||
12 | #ifndef _WX_OSX_COCOA_CHKCONF_H_ | |
13 | #define _WX_OSX_COCOA_CHKCONF_H_ | |
14 | ||
15 | /* | |
16 | * native (1) or emulated (0) toolbar | |
17 | */ | |
18 | ||
19 | #ifndef wxOSX_USE_NATIVE_TOOLBAR | |
20 | #define wxOSX_USE_NATIVE_TOOLBAR 1 | |
21 | #endif | |
22 | ||
c551dc29 SC |
23 | /* |
24 | * leave is isFlipped and don't override | |
25 | */ | |
26 | #ifndef wxOSX_USE_NATIVE_FLIPPED | |
27 | #define wxOSX_USE_NATIVE_FLIPPED 1 | |
28 | #endif | |
29 | ||
03647350 VZ |
30 | /* |
31 | * text rendering system | |
d423301c SC |
32 | */ |
33 | ||
34 | #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 | |
35 | ||
36 | #define wxOSX_USE_CORE_TEXT 1 | |
37 | #define wxOSX_USE_ATSU_TEXT 0 | |
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 | ||
4e16d05a SC |
50 | /* |
51 | * Audio System | |
52 | */ | |
53 | ||
54 | #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 | |
55 | #define wxOSX_USE_QUICKTIME 0 | |
0770c0a0 | 56 | #define wxOSX_USE_AUDIOTOOLBOX 1 |
4e16d05a SC |
57 | #else // platform < 10.5 |
58 | #define wxOSX_USE_QUICKTIME 1 | |
0770c0a0 | 59 | #define wxOSX_USE_AUDIOTOOLBOX 0 |
4e16d05a SC |
60 | #endif |
61 | ||
d423301c SC |
62 | /* |
63 | * turning off capabilities that don't work under cocoa yet | |
64 | */ | |
65 | ||
d423301c SC |
66 | #endif |
67 | /* _WX_MAC_CHKCONF_H_ */ | |
68 |