]>
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 | ||
6494f8d1 JS |
34 | #if wxUSE_MIMETYPE |
35 | #undef wxUSE_MIMETYPE | |
36 | #define wxUSE_MIMETYPE 0 | |
37 | #endif | |
38 | ||
462a08f1 SC |
39 | #if wxUSE_MDI |
40 | #undef wxUSE_MDI | |
41 | #define wxUSE_MDI 0 | |
42 | #endif | |
43 | ||
44 | #if wxUSE_MDI_ARCHITECTURE | |
45 | #undef wxUSE_MDI_ARCHITECTURE | |
46 | #define wxUSE_MDI_ARCHITECTURE 0 | |
47 | #endif | |
48 | ||
49 | #if wxUSE_DRAG_AND_DROP | |
50 | #undef wxUSE_DRAG_AND_DROP | |
51 | #define wxUSE_DRAG_AND_DROP 0 | |
52 | #endif | |
53 | ||
54 | #if wxUSE_TASKBARICON | |
55 | #undef wxUSE_TASKBARICON | |
56 | #define wxUSE_TASKBARICON 0 | |
57 | #endif | |
58 | ||
59 | #if wxUSE_TOOLTIPS | |
60 | #undef wxUSE_TOOLTIPS | |
61 | #define wxUSE_TOOLTIPS 0 | |
62 | #endif | |
63 | ||
64 | #if wxUSE_DATAVIEWCTRL | |
65 | #undef wxUSE_DATAVIEWCTRL | |
66 | #define wxUSE_DATAVIEWCTRL 0 | |
67 | #endif | |
68 | ||
69 | #if wxUSE_DRAG_AND_DROP | |
70 | #undef wxUSE_DRAG_AND_DROP | |
71 | #define wxUSE_DRAG_AND_DROP 0 | |
72 | #endif | |
73 | ||
74 | #if wxUSE_TASKBARICON | |
75 | #undef wxUSE_TASKBARICON | |
76 | #define wxUSE_TASKBARICON 0 | |
77 | #endif | |
78 | ||
524c47aa | 79 | #define wxUSE_BUTTON 1 |
d3929256 SC |
80 | |
81 | #if wxUSE_CARET | |
82 | #undef wxUSE_CARET | |
83 | #define wxUSE_CARET 0 | |
84 | #endif | |
85 | ||
86 | #if wxUSE_CHOICE | |
87 | #undef wxUSE_CHOICE | |
88 | #define wxUSE_CHOICE 0 | |
89 | #endif | |
90 | ||
91 | #if wxUSE_COMBOBOX | |
92 | #undef wxUSE_COMBOBOX | |
93 | #define wxUSE_COMBOBOX 0 | |
94 | #endif | |
95 | ||
4e16d05a | 96 | #ifndef __WXUNIVERSAL__ |
ce00f59b | 97 | #undef wxUSE_SCROLLBAR |
d3929256 | 98 | #define wxUSE_SCROLLBAR 0 |
4e16d05a | 99 | #endif |
d3929256 | 100 | |
03647350 VZ |
101 | #undef wxUSE_STATUSBAR |
102 | #undef wxUSE_NATIVE_STATUSBAR | |
03647350 | 103 | #undef wxUSE_ABOUTDLG |
03647350 VZ |
104 | #undef wxUSE_STATLINE |
105 | #undef wxUSE_COLLPANE | |
106 | #undef wxUSE_STATBMP | |
107 | #undef wxUSE_STATBOX | |
03647350 VZ |
108 | #undef wxUSE_RADIOBTN |
109 | #undef wxUSE_RADIOBOX | |
d3929256 SC |
110 | #undef wxUSE_TOGGLEBTN |
111 | ||
112 | ||
113 | #define wxUSE_STATUSBAR 0 | |
524c47aa | 114 | #define wxUSE_NATIVE_STATUSBAR 0 |
d3929256 | 115 | #define wxUSE_ABOUTDLG 0 |
d3929256 SC |
116 | #define wxUSE_STATLINE 0 |
117 | #define wxUSE_COLLPANE 0 | |
118 | #define wxUSE_STATBMP 0 | |
119 | #define wxUSE_STATBOX 0 | |
d3929256 SC |
120 | #define wxUSE_RADIOBTN 0 |
121 | #define wxUSE_RADIOBOX 0 | |
122 | #define wxUSE_TOGGLEBTN 0 | |
123 | ||
03647350 | 124 | #undef wxUSE_HTML |
524c47aa | 125 | |
524c47aa SC |
126 | #define wxUSE_HTML 0 |
127 | ||
03647350 | 128 | #undef wxUSE_RICHTEXT |
524c47aa SC |
129 | #define wxUSE_RICHTEXT 0 |
130 | ||
03647350 VZ |
131 | #undef wxUSE_ANIMATIONCTRL |
132 | #undef wxUSE_CALENDARCTRL | |
133 | #undef wxUSE_COMBOCTRL | |
134 | #undef wxUSE_ODCOMBOBOX | |
135 | #undef wxUSE_BITMAPCOMBOBOX | |
136 | #undef wxUSE_BMPBUTTON | |
137 | #undef wxUSE_CHECKLISTBOX | |
03647350 VZ |
138 | #undef wxUSE_GRID |
139 | #undef wxUSE_LISTBOX | |
140 | #undef wxUSE_LISTCTRL | |
141 | #undef wxUSE_NOTEBOOK | |
03647350 VZ |
142 | #undef wxUSE_SPINBTN |
143 | #undef wxUSE_SPINCTRL | |
144 | #undef wxUSE_TREECTRL | |
145 | #undef wxUSE_DATEPICKCTRL | |
146 | #undef wxUSE_DATAVIEWCTRL | |
147 | #undef wxUSE_EDITABLELISTBOX | |
148 | #undef wxUSE_FILEPICKERCTRL | |
149 | #undef wxUSE_DIRPICKERCTRL | |
150 | #undef wxUSE_FILECTRL | |
151 | #undef wxUSE_COLOURPICKERCTRL | |
152 | #undef wxUSE_FONTPICKERCTRL | |
153 | #undef wxUSE_DEBUGREPORT | |
154 | #undef wxUSE_HYPERLINKCTRL | |
155 | #undef wxUSE_STC | |
d3929256 | 156 | #undef wxUSE_AUI |
03647350 VZ |
157 | #undef wxUSE_BUSYINFO |
158 | #undef wxUSE_SEARCHCTRL | |
d3929256 | 159 | |
524c47aa SC |
160 | #define wxUSE_ANIMATIONCTRL 0 |
161 | #define wxUSE_CALENDARCTRL 0 | |
524c47aa SC |
162 | #define wxUSE_COMBOCTRL 0 |
163 | #define wxUSE_ODCOMBOBOX 0 | |
164 | #define wxUSE_BITMAPCOMBOBOX 0 | |
165 | #define wxUSE_BMPBUTTON 0 | |
166 | #define wxUSE_CHECKLISTBOX 0 | |
524c47aa SC |
167 | #define wxUSE_GRID 0 |
168 | #define wxUSE_LISTBOX 0 | |
169 | #define wxUSE_LISTCTRL 0 | |
170 | #define wxUSE_NOTEBOOK 0 | |
524c47aa SC |
171 | #define wxUSE_SPINBTN 0 |
172 | #define wxUSE_SPINCTRL 0 | |
173 | #define wxUSE_TREECTRL 0 | |
174 | #define wxUSE_DATEPICKCTRL 0 | |
175 | #define wxUSE_DATAVIEWCTRL 0 | |
176 | #define wxUSE_EDITABLELISTBOX 0 | |
177 | #define wxUSE_FILEPICKERCTRL 0 | |
178 | #define wxUSE_DIRPICKERCTRL 0 | |
179 | #define wxUSE_FILECTRL 0 | |
180 | #define wxUSE_COLOURPICKERCTRL 0 | |
181 | #define wxUSE_FONTPICKERCTRL 0 | |
182 | #define wxUSE_DEBUGREPORT 0 | |
183 | #define wxUSE_HYPERLINKCTRL 0 | |
184 | #define wxUSE_STC 0 | |
185 | #define wxUSE_AUI 0 | |
186 | #define wxUSE_BUSYINFO 0 | |
187 | #define wxUSE_SEARCHCTRL 0 | |
188 | ||
03647350 VZ |
189 | #undef wxUSE_LOGWINDOW |
190 | #undef wxUSE_LOG_DIALOG | |
191 | #undef wxUSE_LISTBOOK | |
192 | #undef wxUSE_CHOICEBOOK | |
193 | #undef wxUSE_TREEBOOK | |
194 | #undef wxUSE_TOOLBOOK | |
195 | #undef wxUSE_CHOICEDLG | |
196 | #undef wxUSE_HELP | |
197 | #undef wxUSE_PROGRESSDLG | |
198 | #undef wxUSE_FONTDLG | |
199 | #undef wxUSE_FILEDLG | |
200 | #undef wxUSE_CHOICEDLG | |
201 | #undef wxUSE_NUMBERDLG | |
202 | #undef wxUSE_TEXTDLG | |
203 | #undef wxUSE_DIRDLG | |
204 | #undef wxUSE_STARTUP_TIPS | |
205 | #undef wxUSE_WIZARDDLG | |
206 | #undef wxUSE_TOOLBAR_NATIVE | |
207 | #undef wxUSE_FINDREPLDLG | |
208 | #undef wxUSE_TASKBARICON | |
209 | #undef wxUSE_REARRANGECTRL | |
d3929256 | 210 | |
524c47aa SC |
211 | #define wxUSE_LOGWINDOW 0 |
212 | #define wxUSE_LOG_DIALOG 0 | |
213 | #define wxUSE_LISTBOOK 0 | |
214 | #define wxUSE_CHOICEBOOK 0 | |
215 | #define wxUSE_TREEBOOK 0 | |
216 | #define wxUSE_TOOLBOOK 0 | |
217 | #define wxUSE_CHOICEDLG 0 | |
218 | #define wxUSE_HELP 0 | |
219 | #define wxUSE_PROGRESSDLG 0 | |
220 | #define wxUSE_FONTDLG 0 | |
221 | #define wxUSE_FILEDLG 0 | |
222 | #define wxUSE_CHOICEDLG 0 | |
223 | #define wxUSE_NUMBERDLG 0 | |
224 | #define wxUSE_TEXTDLG 0 | |
225 | #define wxUSE_DIRDLG 0 | |
226 | #define wxUSE_STARTUP_TIPS 0 | |
227 | #define wxUSE_WIZARDDLG 0 | |
228 | #define wxUSE_TOOLBAR_NATIVE 0 | |
229 | #define wxUSE_FINDREPLDLG 0 | |
524c47aa | 230 | #define wxUSE_TASKBARICON 0 |
d3929256 SC |
231 | #define wxUSE_REARRANGECTRL 0 |
232 | ||
233 | #if wxUSE_WXHTML_HELP | |
234 | #undef wxUSE_WXHTML_HELP | |
235 | #define wxUSE_WXHTML_HELP 0 | |
236 | #endif | |
237 | ||
238 | #if wxUSE_DOC_VIEW_ARCHITECTURE | |
239 | #undef wxUSE_DOC_VIEW_ARCHITECTURE | |
240 | #define wxUSE_DOC_VIEW_ARCHITECTURE 0 | |
241 | #endif | |
242 | ||
243 | #if wxUSE_PRINTING_ARCHITECTURE | |
244 | #undef wxUSE_PRINTING_ARCHITECTURE | |
245 | #define wxUSE_PRINTING_ARCHITECTURE 0 | |
246 | #endif | |
524c47aa | 247 | |
d3929256 SC |
248 | #if wxUSE_MENUS |
249 | #undef wxUSE_MENUS | |
250 | #define wxUSE_MENUS 0 | |
251 | #endif | |
524c47aa | 252 | |
462a08f1 SC |
253 | /* |
254 | #if wxUSE_POPUPWIN | |
255 | #undef wxUSE_POPUPWIN | |
256 | #define wxUSE_POPUPWIN 0 | |
257 | #endif | |
258 | ||
259 | #if wxUSE_COMBOBOX | |
260 | #undef wxUSE_COMBOBOX | |
261 | #define wxUSE_COMBOBOX 0 | |
262 | #endif | |
263 | ||
264 | ||
462a08f1 SC |
265 | |
266 | #if wxUSE_CALENDARCTRL | |
267 | #undef wxUSE_CALENDARCTRL | |
268 | #define wxUSE_CALENDARCTRL 0 | |
269 | #endif | |
270 | ||
462a08f1 SC |
271 | */ |
272 | ||
273 | #if wxUSE_CLIPBOARD | |
274 | #undef wxUSE_CLIPBOARD | |
275 | #define wxUSE_CLIPBOARD 0 | |
276 | #endif // wxUSE_CLIPBOARD | |
277 | ||
4e16d05a | 278 | /* |
d3929256 SC |
279 | #if wxUSE_GLCANVAS |
280 | #undef wxUSE_GLCANVAS | |
281 | #define wxUSE_GLCANVAS 0 | |
282 | #endif // wxUSE_GLCANVAS | |
4e16d05a | 283 | */ |
d3929256 SC |
284 | |
285 | #if wxUSE_COLOURDLG | |
286 | #undef wxUSE_COLOURDLG | |
287 | #define wxUSE_COLOURDLG 0 | |
288 | #endif // wxUSE_COLOURDLG | |
289 | ||
98040646 SC |
290 | // iphone has a toolbar that is a regular UIView |
291 | ||
7304f385 | 292 | #ifdef wxOSX_USE_NATIVE_TOOLBAR |
98040646 SC |
293 | #if wxOSX_USE_NATIVE_TOOLBAR |
294 | #undef wxOSX_USE_NATIVE_TOOLBAR | |
295 | #define wxOSX_USE_NATIVE_TOOLBAR 0 | |
296 | #endif | |
7304f385 JS |
297 | #else |
298 | #define wxOSX_USE_NATIVE_TOOLBAR 0 | |
299 | #endif | |
98040646 | 300 | |
afd5d91c SC |
301 | #if wxUSE_RIBBON |
302 | #undef wxUSE_RIBBON | |
303 | #define wxUSE_RIBBON 0 | |
304 | #endif | |
305 | ||
306 | #if wxUSE_INFOBAR | |
307 | #undef wxUSE_INFOBAR | |
308 | #define wxUSE_INFOBAR 0 | |
309 | #endif | |
310 | ||
311 | #if wxUSE_FILE_HISTORY | |
312 | #undef wxUSE_FILE_HISTORY | |
313 | #define wxUSE_FILE_HISTORY 0 | |
314 | #endif | |
315 | ||
316 | #if wxUSE_NOTIFICATION_MESSAGE | |
317 | #undef wxUSE_NOTIFICATION_MESSAGE | |
318 | #define wxUSE_NOTIFICATION_MESSAGE 0 | |
319 | #endif | |
320 | ||
321 | #if wxUSE_PROPGRID | |
322 | #undef wxUSE_PROPGRID | |
323 | #define wxUSE_PROPGRID 0 | |
324 | #endif | |
325 | ||
326 | #if wxUSE_WEBKIT | |
327 | #undef wxUSE_WEBKIT | |
328 | #define wxUSE_WEBKIT 0 | |
329 | #endif | |
330 | ||
331 | #if wxUSE_DATAOBJ | |
332 | #undef wxUSE_DATAOBJ | |
333 | #define wxUSE_DATAOBJ 0 | |
334 | #endif | |
335 | ||
b213ba75 SC |
336 | #if wxUSE_UIACTIONSIMULATOR |
337 | #undef wxUSE_UIACTIONSIMULATOR | |
338 | #define wxUSE_UIACTIONSIMULATOR 0 | |
339 | #endif | |
340 | ||
341 | #if wxUSE_RICHMSGDLG | |
342 | #undef wxUSE_RICHMSGDLG | |
343 | #define wxUSE_RICHMSGDLG 0 | |
344 | #endif | |
345 | ||
346 | #if wxUSE_RICHTEXT | |
347 | #undef wxUSE_RICHTEXT | |
348 | #define wxUSE_RICHTEXT 0 | |
349 | #endif | |
350 | ||
462a08f1 SC |
351 | #endif |
352 | /* _WX_OSX_IPHONE_CHKCONF_H_ */ | |
353 |