]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/osx/carbon/chkconf.h
Split utility functions into base (in utilsexc_base.cpp) and gui (src/osx/carbon...
[wxWidgets.git] / include / wx / osx / carbon / chkconf.h
... / ...
CommitLineData
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 * RCS-ID: $Id$
8 * Copyright: (c) Julian Smart
9 * Licence: wxWindows licence
10 */
11
12#ifndef _WX_OSX_CARBON_CHKCONF_H_
13#define _WX_OSX_CARBON_CHKCONF_H_
14
15/*
16 * native (1) or emulated (0) toolbar
17 * also support old notation wxMAC_USE_NATIVE_TOOLBAR
18 */
19
20
21
22#ifdef wxMAC_USE_NATIVE_TOOLBAR
23 #define wxOSX_USE_NATIVE_TOOLBAR wxMAC_USE_NATIVE_TOOLBAR
24#endif
25
26#ifndef wxOSX_USE_NATIVE_TOOLBAR
27 #define wxOSX_USE_NATIVE_TOOLBAR 1
28#endif
29
30/*
31 * text rendering system
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
50#endif
51 /* _WX_OSX_CARBON_CHKCONF_H_ */
52