]>
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 | |
7 | * RCS-ID: $Id: chkconf.h 54833 2008-07-29 21:03:18Z 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 | ||
23 | /* | |
24 | * text rendering system | |
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 | ||
43 | /* | |
44 | * turning off capabilities that don't work under cocoa yet | |
45 | */ | |
46 | ||
47 | #if wxUSE_MDI | |
48 | #undef wxUSE_MDI | |
49 | #define wxUSE_MDI 0 | |
50 | #endif | |
51 | ||
52 | #if wxUSE_MDI_ARCHITECTURE | |
53 | #undef wxUSE_MDI_ARCHITECTURE | |
54 | #define wxUSE_MDI_ARCHITECTURE 0 | |
55 | #endif | |
56 | ||
57 | #if wxUSE_DRAG_AND_DROP | |
58 | #undef wxUSE_DRAG_AND_DROP | |
59 | #define wxUSE_DRAG_AND_DROP 0 | |
60 | #endif | |
61 | ||
62 | #if wxUSE_TASKBARICON | |
63 | #undef wxUSE_TASKBARICON | |
64 | #define wxUSE_TASKBARICON 0 | |
65 | #endif | |
66 | ||
67 | #if wxUSE_TOOLTIPS | |
68 | #undef wxUSE_TOOLTIPS | |
69 | #define wxUSE_TOOLTIPS 0 | |
70 | #endif | |
71 | ||
72 | #if wxUSE_DATAVIEWCTRL | |
73 | #undef wxUSE_DATAVIEWCTRL | |
74 | #define wxUSE_DATAVIEWCTRL 0 | |
75 | #endif | |
76 | ||
77 | #if wxUSE_DRAG_AND_DROP | |
78 | #undef wxUSE_DRAG_AND_DROP | |
79 | #define wxUSE_DRAG_AND_DROP 0 | |
80 | #endif | |
81 | ||
82 | #if wxUSE_TASKBARICON | |
83 | #undef wxUSE_TASKBARICON | |
84 | #define wxUSE_TASKBARICON 0 | |
85 | #endif | |
86 | ||
87 | /* | |
88 | #if wxUSE_POPUPWIN | |
89 | #undef wxUSE_POPUPWIN | |
90 | #define wxUSE_POPUPWIN 0 | |
91 | #endif | |
92 | ||
93 | #if wxUSE_COMBOBOX | |
94 | #undef wxUSE_COMBOBOX | |
95 | #define wxUSE_COMBOBOX 0 | |
96 | #endif | |
97 | ||
98 | ||
99 | #if wxUSE_MENUS | |
100 | #undef wxUSE_MENUS | |
101 | #define wxUSE_MENUS 0 | |
102 | #endif | |
103 | ||
104 | #if wxUSE_CALENDARCTRL | |
105 | #undef wxUSE_CALENDARCTRL | |
106 | #define wxUSE_CALENDARCTRL 0 | |
107 | #endif | |
108 | ||
109 | #if wxUSE_WXHTML_HELP | |
110 | #undef wxUSE_WXHTML_HELP | |
111 | #define wxUSE_WXHTML_HELP 0 | |
112 | #endif | |
113 | ||
114 | #if wxUSE_DOC_VIEW_ARCHITECTURE | |
115 | #undef wxUSE_DOC_VIEW_ARCHITECTURE | |
116 | #define wxUSE_DOC_VIEW_ARCHITECTURE 0 | |
117 | #endif | |
118 | ||
119 | #if wxUSE_PRINTING_ARCHITECTURE | |
120 | #undef wxUSE_PRINTING_ARCHITECTURE | |
121 | #define wxUSE_PRINTING_ARCHITECTURE 0 | |
122 | #endif | |
123 | ||
124 | */ | |
125 | ||
126 | #endif | |
127 | /* _WX_MAC_CHKCONF_H_ */ | |
128 |