]>
Commit | Line | Data |
---|---|---|
462a08f1 SC |
1 | /* |
2 | * Name: wx/osx/iphone/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_IPHONE_CHKCONF_H_ | |
13 | #define _WX_OSX_IPHONE_CHKCONF_H_ | |
14 | ||
64afee85 FM |
15 | /* |
16 | * text rendering system | |
462a08f1 SC |
17 | */ |
18 | ||
64afee85 | 19 | /* we have different options and we turn on all that make sense |
462a08f1 SC |
20 | * under a certain platform |
21 | */ | |
22 | ||
23 | #define wxOSX_USE_CORE_TEXT 0 | |
24 | #define wxOSX_USE_ATSU_TEXT 0 | |
03647350 | 25 | #define wxHAS_OPENGL_ES |
462a08f1 | 26 | |
4e16d05a | 27 | #define wxOSX_USE_QUICKTIME 0 |
0770c0a0 | 28 | #define wxOSX_USE_AUDIOTOOLBOX 1 |
4e16d05a | 29 | |
462a08f1 SC |
30 | /* |
31 | * turning off capabilities that don't work under iphone yet | |
32 | */ | |
33 | ||
34 | #if wxUSE_MDI | |
35 | #undef wxUSE_MDI | |
36 | #define wxUSE_MDI 0 | |
37 | #endif | |
38 | ||
39 | #if wxUSE_MDI_ARCHITECTURE | |
40 | #undef wxUSE_MDI_ARCHITECTURE | |
41 | #define wxUSE_MDI_ARCHITECTURE 0 | |
42 | #endif | |
43 | ||
44 | #if wxUSE_DRAG_AND_DROP | |
45 | #undef wxUSE_DRAG_AND_DROP | |
46 | #define wxUSE_DRAG_AND_DROP 0 | |
47 | #endif | |
48 | ||
49 | #if wxUSE_TASKBARICON | |
50 | #undef wxUSE_TASKBARICON | |
51 | #define wxUSE_TASKBARICON 0 | |
52 | #endif | |
53 | ||
54 | #if wxUSE_TOOLTIPS | |
55 | #undef wxUSE_TOOLTIPS | |
56 | #define wxUSE_TOOLTIPS 0 | |
57 | #endif | |
58 | ||
59 | #if wxUSE_DATAVIEWCTRL | |
60 | #undef wxUSE_DATAVIEWCTRL | |
61 | #define wxUSE_DATAVIEWCTRL 0 | |
62 | #endif | |
63 | ||
64 | #if wxUSE_DRAG_AND_DROP | |
65 | #undef wxUSE_DRAG_AND_DROP | |
66 | #define wxUSE_DRAG_AND_DROP 0 | |
67 | #endif | |
68 | ||
69 | #if wxUSE_TASKBARICON | |
70 | #undef wxUSE_TASKBARICON | |
71 | #define wxUSE_TASKBARICON 0 | |
72 | #endif | |
73 | ||
524c47aa | 74 | #define wxUSE_BUTTON 1 |
d3929256 SC |
75 | |
76 | #if wxUSE_CARET | |
77 | #undef wxUSE_CARET | |
78 | #define wxUSE_CARET 0 | |
79 | #endif | |
80 | ||
81 | #if wxUSE_CHOICE | |
82 | #undef wxUSE_CHOICE | |
83 | #define wxUSE_CHOICE 0 | |
84 | #endif | |
85 | ||
86 | #if wxUSE_COMBOBOX | |
87 | #undef wxUSE_COMBOBOX | |
88 | #define wxUSE_COMBOBOX 0 | |
89 | #endif | |
90 | ||
4e16d05a SC |
91 | #ifndef __WXUNIVERSAL__ |
92 | #undef wxUSE_SCROLLBAR | |
d3929256 | 93 | #define wxUSE_SCROLLBAR 0 |
4e16d05a | 94 | #endif |
d3929256 | 95 | |
03647350 VZ |
96 | #undef wxUSE_STATUSBAR |
97 | #undef wxUSE_NATIVE_STATUSBAR | |
98 | #undef wxUSE_TEXTCTRL | |
99 | #undef wxUSE_ABOUTDLG | |
100 | #undef wxUSE_STATTEXT | |
101 | #undef wxUSE_STATLINE | |
102 | #undef wxUSE_COLLPANE | |
103 | #undef wxUSE_STATBMP | |
104 | #undef wxUSE_STATBOX | |
03647350 VZ |
105 | #undef wxUSE_RADIOBTN |
106 | #undef wxUSE_RADIOBOX | |
d3929256 SC |
107 | #undef wxUSE_TOGGLEBTN |
108 | ||
109 | ||
110 | #define wxUSE_STATUSBAR 0 | |
524c47aa | 111 | #define wxUSE_NATIVE_STATUSBAR 0 |
d3929256 SC |
112 | #define wxUSE_TEXTCTRL 0 |
113 | #define wxUSE_ABOUTDLG 0 | |
114 | #define wxUSE_STATTEXT 0 | |
115 | #define wxUSE_STATLINE 0 | |
116 | #define wxUSE_COLLPANE 0 | |
117 | #define wxUSE_STATBMP 0 | |
118 | #define wxUSE_STATBOX 0 | |
d3929256 SC |
119 | #define wxUSE_RADIOBTN 0 |
120 | #define wxUSE_RADIOBOX 0 | |
121 | #define wxUSE_TOGGLEBTN 0 | |
122 | ||
03647350 | 123 | #undef wxUSE_HTML |
524c47aa | 124 | |
524c47aa SC |
125 | #define wxUSE_HTML 0 |
126 | ||
03647350 | 127 | #undef wxUSE_RICHTEXT |
524c47aa SC |
128 | #define wxUSE_RICHTEXT 0 |
129 | ||
03647350 VZ |
130 | #undef wxUSE_ANIMATIONCTRL |
131 | #undef wxUSE_CALENDARCTRL | |
132 | #undef wxUSE_COMBOCTRL | |
133 | #undef wxUSE_ODCOMBOBOX | |
134 | #undef wxUSE_BITMAPCOMBOBOX | |
135 | #undef wxUSE_BMPBUTTON | |
136 | #undef wxUSE_CHECKLISTBOX | |
137 | #undef wxUSE_GAUGE | |
138 | #undef wxUSE_GRID | |
139 | #undef wxUSE_LISTBOX | |
140 | #undef wxUSE_LISTCTRL | |
141 | #undef wxUSE_NOTEBOOK | |
142 | #undef wxUSE_SLIDER | |
143 | #undef wxUSE_SPINBTN | |
144 | #undef wxUSE_SPINCTRL | |
145 | #undef wxUSE_TREECTRL | |
146 | #undef wxUSE_DATEPICKCTRL | |
147 | #undef wxUSE_DATAVIEWCTRL | |
148 | #undef wxUSE_EDITABLELISTBOX | |
149 | #undef wxUSE_FILEPICKERCTRL | |
150 | #undef wxUSE_DIRPICKERCTRL | |
151 | #undef wxUSE_FILECTRL | |
152 | #undef wxUSE_COLOURPICKERCTRL | |
153 | #undef wxUSE_FONTPICKERCTRL | |
154 | #undef wxUSE_DEBUGREPORT | |
155 | #undef wxUSE_HYPERLINKCTRL | |
156 | #undef wxUSE_STC | |
d3929256 | 157 | #undef wxUSE_AUI |
03647350 VZ |
158 | #undef wxUSE_BUSYINFO |
159 | #undef wxUSE_SEARCHCTRL | |
d3929256 | 160 | |
524c47aa SC |
161 | #define wxUSE_ANIMATIONCTRL 0 |
162 | #define wxUSE_CALENDARCTRL 0 | |
524c47aa SC |
163 | #define wxUSE_COMBOCTRL 0 |
164 | #define wxUSE_ODCOMBOBOX 0 | |
165 | #define wxUSE_BITMAPCOMBOBOX 0 | |
166 | #define wxUSE_BMPBUTTON 0 | |
167 | #define wxUSE_CHECKLISTBOX 0 | |
168 | #define wxUSE_GAUGE 0 | |
169 | #define wxUSE_GRID 0 | |
170 | #define wxUSE_LISTBOX 0 | |
171 | #define wxUSE_LISTCTRL 0 | |
172 | #define wxUSE_NOTEBOOK 0 | |
173 | #define wxUSE_SLIDER 0 | |
174 | #define wxUSE_SPINBTN 0 | |
175 | #define wxUSE_SPINCTRL 0 | |
176 | #define wxUSE_TREECTRL 0 | |
177 | #define wxUSE_DATEPICKCTRL 0 | |
178 | #define wxUSE_DATAVIEWCTRL 0 | |
179 | #define wxUSE_EDITABLELISTBOX 0 | |
180 | #define wxUSE_FILEPICKERCTRL 0 | |
181 | #define wxUSE_DIRPICKERCTRL 0 | |
182 | #define wxUSE_FILECTRL 0 | |
183 | #define wxUSE_COLOURPICKERCTRL 0 | |
184 | #define wxUSE_FONTPICKERCTRL 0 | |
185 | #define wxUSE_DEBUGREPORT 0 | |
186 | #define wxUSE_HYPERLINKCTRL 0 | |
187 | #define wxUSE_STC 0 | |
188 | #define wxUSE_AUI 0 | |
189 | #define wxUSE_BUSYINFO 0 | |
190 | #define wxUSE_SEARCHCTRL 0 | |
191 | ||
03647350 VZ |
192 | #undef wxUSE_LOGWINDOW |
193 | #undef wxUSE_LOG_DIALOG | |
194 | #undef wxUSE_LISTBOOK | |
195 | #undef wxUSE_CHOICEBOOK | |
196 | #undef wxUSE_TREEBOOK | |
197 | #undef wxUSE_TOOLBOOK | |
198 | #undef wxUSE_CHOICEDLG | |
199 | #undef wxUSE_HELP | |
200 | #undef wxUSE_PROGRESSDLG | |
201 | #undef wxUSE_FONTDLG | |
202 | #undef wxUSE_FILEDLG | |
203 | #undef wxUSE_CHOICEDLG | |
204 | #undef wxUSE_NUMBERDLG | |
205 | #undef wxUSE_TEXTDLG | |
206 | #undef wxUSE_DIRDLG | |
207 | #undef wxUSE_STARTUP_TIPS | |
208 | #undef wxUSE_WIZARDDLG | |
209 | #undef wxUSE_TOOLBAR_NATIVE | |
210 | #undef wxUSE_FINDREPLDLG | |
211 | #undef wxUSE_TASKBARICON | |
212 | #undef wxUSE_REARRANGECTRL | |
d3929256 | 213 | |
524c47aa SC |
214 | #define wxUSE_LOGWINDOW 0 |
215 | #define wxUSE_LOG_DIALOG 0 | |
216 | #define wxUSE_LISTBOOK 0 | |
217 | #define wxUSE_CHOICEBOOK 0 | |
218 | #define wxUSE_TREEBOOK 0 | |
219 | #define wxUSE_TOOLBOOK 0 | |
220 | #define wxUSE_CHOICEDLG 0 | |
221 | #define wxUSE_HELP 0 | |
222 | #define wxUSE_PROGRESSDLG 0 | |
223 | #define wxUSE_FONTDLG 0 | |
224 | #define wxUSE_FILEDLG 0 | |
225 | #define wxUSE_CHOICEDLG 0 | |
226 | #define wxUSE_NUMBERDLG 0 | |
227 | #define wxUSE_TEXTDLG 0 | |
228 | #define wxUSE_DIRDLG 0 | |
229 | #define wxUSE_STARTUP_TIPS 0 | |
230 | #define wxUSE_WIZARDDLG 0 | |
231 | #define wxUSE_TOOLBAR_NATIVE 0 | |
232 | #define wxUSE_FINDREPLDLG 0 | |
524c47aa | 233 | #define wxUSE_TASKBARICON 0 |
d3929256 SC |
234 | #define wxUSE_REARRANGECTRL 0 |
235 | ||
236 | #if wxUSE_WXHTML_HELP | |
237 | #undef wxUSE_WXHTML_HELP | |
238 | #define wxUSE_WXHTML_HELP 0 | |
239 | #endif | |
240 | ||
241 | #if wxUSE_DOC_VIEW_ARCHITECTURE | |
242 | #undef wxUSE_DOC_VIEW_ARCHITECTURE | |
243 | #define wxUSE_DOC_VIEW_ARCHITECTURE 0 | |
244 | #endif | |
245 | ||
246 | #if wxUSE_PRINTING_ARCHITECTURE | |
247 | #undef wxUSE_PRINTING_ARCHITECTURE | |
248 | #define wxUSE_PRINTING_ARCHITECTURE 0 | |
249 | #endif | |
524c47aa | 250 | |
d3929256 SC |
251 | #if wxUSE_MENUS |
252 | #undef wxUSE_MENUS | |
253 | #define wxUSE_MENUS 0 | |
254 | #endif | |
524c47aa | 255 | |
462a08f1 SC |
256 | /* |
257 | #if wxUSE_POPUPWIN | |
258 | #undef wxUSE_POPUPWIN | |
259 | #define wxUSE_POPUPWIN 0 | |
260 | #endif | |
261 | ||
262 | #if wxUSE_COMBOBOX | |
263 | #undef wxUSE_COMBOBOX | |
264 | #define wxUSE_COMBOBOX 0 | |
265 | #endif | |
266 | ||
267 | ||
462a08f1 SC |
268 | |
269 | #if wxUSE_CALENDARCTRL | |
270 | #undef wxUSE_CALENDARCTRL | |
271 | #define wxUSE_CALENDARCTRL 0 | |
272 | #endif | |
273 | ||
462a08f1 SC |
274 | */ |
275 | ||
276 | #if wxUSE_CLIPBOARD | |
277 | #undef wxUSE_CLIPBOARD | |
278 | #define wxUSE_CLIPBOARD 0 | |
279 | #endif // wxUSE_CLIPBOARD | |
280 | ||
4e16d05a | 281 | /* |
d3929256 SC |
282 | #if wxUSE_GLCANVAS |
283 | #undef wxUSE_GLCANVAS | |
284 | #define wxUSE_GLCANVAS 0 | |
285 | #endif // wxUSE_GLCANVAS | |
4e16d05a | 286 | */ |
d3929256 SC |
287 | |
288 | #if wxUSE_COLOURDLG | |
289 | #undef wxUSE_COLOURDLG | |
290 | #define wxUSE_COLOURDLG 0 | |
291 | #endif // wxUSE_COLOURDLG | |
292 | ||
98040646 SC |
293 | // iphone has a toolbar that is a regular UIView |
294 | ||
295 | #if wxOSX_USE_NATIVE_TOOLBAR | |
296 | #undef wxOSX_USE_NATIVE_TOOLBAR | |
297 | #define wxOSX_USE_NATIVE_TOOLBAR 0 | |
298 | #endif | |
299 | ||
462a08f1 SC |
300 | #endif |
301 | /* _WX_OSX_IPHONE_CHKCONF_H_ */ | |
302 |