]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/carbon/chkconf.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / osx / carbon / chkconf.h
CommitLineData
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
5c6eb3a8
SC
7 * Copyright: (c) Julian Smart
8 * Licence: wxWindows licence
9 */
10
b46f221f
SC
11#ifndef _WX_OSX_CARBON_CHKCONF_H_
12#define _WX_OSX_CARBON_CHKCONF_H_
5c6eb3a8
SC
13
14/*
15 * native (1) or emulated (0) toolbar
b46f221f 16 * also support old notation wxMAC_USE_NATIVE_TOOLBAR
5c6eb3a8
SC
17 */
18
5c6eb3a8 19
5c6eb3a8 20
b46f221f
SC
21#ifdef wxMAC_USE_NATIVE_TOOLBAR
22 #define wxOSX_USE_NATIVE_TOOLBAR wxMAC_USE_NATIVE_TOOLBAR
bcb07ff0
SC
23#endif
24
b46f221f
SC
25#ifndef wxOSX_USE_NATIVE_TOOLBAR
26 #define wxOSX_USE_NATIVE_TOOLBAR 1
bcb07ff0
SC
27#endif
28
03647350
VZ
29/*
30 * text rendering system
5c6eb3a8
SC
31 */
32
5c6eb3a8
SC
33#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
34
b46f221f 35 #define wxOSX_USE_CORE_TEXT 1
beb2638a
SC
36 // MLTE-TextControl uses ATSU
37 #define wxOSX_USE_ATSU_TEXT 1
5c6eb3a8
SC
38
39#else // platform < 10.5
40
bcb07ff0 41 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
b46f221f 42 #define wxOSX_USE_CORE_TEXT 1
bcb07ff0 43 #else
b46f221f 44 #define wxOSX_USE_CORE_TEXT 0
bcb07ff0 45 #endif
b46f221f 46 #define wxOSX_USE_ATSU_TEXT 1
5c6eb3a8
SC
47
48#endif
49
4e16d05a
SC
50/*
51 * Audio System
52 */
53
54#define wxOSX_USE_QUICKTIME 1
0770c0a0 55#define wxOSX_USE_AUDIOTOOLBOX 0
4e16d05a 56
5c6eb3a8 57#endif
b46f221f 58 /* _WX_OSX_CARBON_CHKCONF_H_ */
5c6eb3a8 59