]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/cocoa/chkconf.h
Don't use "Cancel" button in the about dialog of the listctrl sample.
[wxWidgets.git] / include / wx / osx / cocoa / chkconf.h
CommitLineData
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
03647350
VZ
23/*
24 * text rendering system
d423301c
SC
25 */
26
27#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
28
29 #define wxOSX_USE_CORE_TEXT 1
30 #define wxOSX_USE_ATSU_TEXT 0
31
32#else // platform < 10.5
33
34 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
35 #define wxOSX_USE_CORE_TEXT 1
36 #else
37 #define wxOSX_USE_CORE_TEXT 0
38 #endif
39 #define wxOSX_USE_ATSU_TEXT 1
40
41#endif
42
4e16d05a
SC
43/*
44 * Audio System
45 */
46
47#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
48 #define wxOSX_USE_QUICKTIME 0
0770c0a0 49 #define wxOSX_USE_AUDIOTOOLBOX 1
4e16d05a
SC
50#else // platform < 10.5
51 #define wxOSX_USE_QUICKTIME 1
0770c0a0 52 #define wxOSX_USE_AUDIOTOOLBOX 0
4e16d05a
SC
53#endif
54
d423301c
SC
55/*
56 * turning off capabilities that don't work under cocoa yet
57 */
58
d423301c
SC
59#endif
60 /* _WX_MAC_CHKCONF_H_ */
61