]>
Commit | Line | Data |
---|---|---|
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$ | |
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 | ||
15 | /* | |
16 | * text rendering system | |
17 | */ | |
18 | ||
19 | /* we have different options and we turn on all that make sense | |
20 | * under a certain platform | |
21 | */ | |
22 | ||
23 | #define wxOSX_USE_CORE_TEXT 0 | |
24 | #define wxOSX_USE_ATSU_TEXT 0 | |
25 | #define wxHAS_OPENGL_ES | |
26 | ||
27 | #define wxOSX_USE_QUICKTIME 0 | |
28 | #define wxOSX_USE_AUDIOTOOLBOX 1 | |
29 | ||
30 | /* | |
31 | * turning off capabilities that don't work under iphone yet | |
32 | */ | |
33 | ||
34 | #if wxUSE_MIMETYPE | |
35 | #undef wxUSE_MIMETYPE | |
36 | #define wxUSE_MIMETYPE 0 | |
37 | #endif | |
38 | ||
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_TREELISTCTRL | |
70 | #undef wxUSE_TREELISTCTRL | |
71 | #define wxUSE_TREELISTCTRL 0 | |
72 | #endif | |
73 | ||
74 | #if wxUSE_DRAG_AND_DROP | |
75 | #undef wxUSE_DRAG_AND_DROP | |
76 | #define wxUSE_DRAG_AND_DROP 0 | |
77 | #endif | |
78 | ||
79 | #if wxUSE_TASKBARICON | |
80 | #undef wxUSE_TASKBARICON | |
81 | #define wxUSE_TASKBARICON 0 | |
82 | #endif | |
83 | ||
84 | #define wxUSE_BUTTON 1 | |
85 | ||
86 | #if wxUSE_CARET | |
87 | #undef wxUSE_CARET | |
88 | #define wxUSE_CARET 0 | |
89 | #endif | |
90 | ||
91 | #if wxUSE_CHOICE | |
92 | #undef wxUSE_CHOICE | |
93 | #define wxUSE_CHOICE 0 | |
94 | #endif | |
95 | ||
96 | #if wxUSE_COMBOBOX | |
97 | #undef wxUSE_COMBOBOX | |
98 | #define wxUSE_COMBOBOX 0 | |
99 | #endif | |
100 | ||
101 | #ifndef __WXUNIVERSAL__ | |
102 | #undef wxUSE_SCROLLBAR | |
103 | #define wxUSE_SCROLLBAR 0 | |
104 | #endif | |
105 | ||
106 | #undef wxUSE_STATUSBAR | |
107 | #undef wxUSE_NATIVE_STATUSBAR | |
108 | #undef wxUSE_ABOUTDLG | |
109 | #undef wxUSE_STATLINE | |
110 | #undef wxUSE_COLLPANE | |
111 | #undef wxUSE_STATBMP | |
112 | #undef wxUSE_STATBOX | |
113 | #undef wxUSE_RADIOBTN | |
114 | #undef wxUSE_RADIOBOX | |
115 | #undef wxUSE_TOGGLEBTN | |
116 | ||
117 | ||
118 | #define wxUSE_STATUSBAR 0 | |
119 | #define wxUSE_NATIVE_STATUSBAR 0 | |
120 | #define wxUSE_ABOUTDLG 0 | |
121 | #define wxUSE_STATLINE 0 | |
122 | #define wxUSE_COLLPANE 0 | |
123 | #define wxUSE_STATBMP 0 | |
124 | #define wxUSE_STATBOX 0 | |
125 | #define wxUSE_RADIOBTN 0 | |
126 | #define wxUSE_RADIOBOX 0 | |
127 | #define wxUSE_TOGGLEBTN 0 | |
128 | ||
129 | #undef wxUSE_HTML | |
130 | ||
131 | #define wxUSE_HTML 0 | |
132 | ||
133 | #undef wxUSE_RICHTEXT | |
134 | #define wxUSE_RICHTEXT 0 | |
135 | ||
136 | #undef wxUSE_ANIMATIONCTRL | |
137 | #undef wxUSE_CALENDARCTRL | |
138 | #undef wxUSE_COMBOCTRL | |
139 | #undef wxUSE_ODCOMBOBOX | |
140 | #undef wxUSE_BITMAPCOMBOBOX | |
141 | #undef wxUSE_BMPBUTTON | |
142 | #undef wxUSE_CHECKLISTBOX | |
143 | #undef wxUSE_GRID | |
144 | #undef wxUSE_LISTBOX | |
145 | #undef wxUSE_LISTCTRL | |
146 | #undef wxUSE_NOTEBOOK | |
147 | #undef wxUSE_SPINBTN | |
148 | #undef wxUSE_SPINCTRL | |
149 | #undef wxUSE_TREECTRL | |
150 | #undef wxUSE_DATEPICKCTRL | |
151 | #undef wxUSE_DATAVIEWCTRL | |
152 | #undef wxUSE_EDITABLELISTBOX | |
153 | #undef wxUSE_FILEPICKERCTRL | |
154 | #undef wxUSE_DIRPICKERCTRL | |
155 | #undef wxUSE_FILECTRL | |
156 | #undef wxUSE_COLOURPICKERCTRL | |
157 | #undef wxUSE_FONTPICKERCTRL | |
158 | #undef wxUSE_DEBUGREPORT | |
159 | #undef wxUSE_HYPERLINKCTRL | |
160 | #undef wxUSE_STC | |
161 | #undef wxUSE_AUI | |
162 | #undef wxUSE_BUSYINFO | |
163 | #undef wxUSE_SEARCHCTRL | |
164 | ||
165 | #define wxUSE_ANIMATIONCTRL 0 | |
166 | #define wxUSE_CALENDARCTRL 0 | |
167 | #define wxUSE_COMBOCTRL 0 | |
168 | #define wxUSE_ODCOMBOBOX 0 | |
169 | #define wxUSE_BITMAPCOMBOBOX 0 | |
170 | #define wxUSE_BMPBUTTON 0 | |
171 | #define wxUSE_CHECKLISTBOX 0 | |
172 | #define wxUSE_GRID 0 | |
173 | #define wxUSE_LISTBOX 0 | |
174 | #define wxUSE_LISTCTRL 0 | |
175 | #define wxUSE_NOTEBOOK 0 | |
176 | #define wxUSE_SPINBTN 0 | |
177 | #define wxUSE_SPINCTRL 0 | |
178 | #define wxUSE_TREECTRL 0 | |
179 | #define wxUSE_DATEPICKCTRL 0 | |
180 | #define wxUSE_DATAVIEWCTRL 0 | |
181 | #define wxUSE_EDITABLELISTBOX 0 | |
182 | #define wxUSE_FILEPICKERCTRL 0 | |
183 | #define wxUSE_DIRPICKERCTRL 0 | |
184 | #define wxUSE_FILECTRL 0 | |
185 | #define wxUSE_COLOURPICKERCTRL 0 | |
186 | #define wxUSE_FONTPICKERCTRL 0 | |
187 | #define wxUSE_DEBUGREPORT 0 | |
188 | #define wxUSE_HYPERLINKCTRL 0 | |
189 | #define wxUSE_STC 0 | |
190 | #define wxUSE_AUI 0 | |
191 | #define wxUSE_BUSYINFO 0 | |
192 | #define wxUSE_SEARCHCTRL 0 | |
193 | ||
194 | #undef wxUSE_LOGWINDOW | |
195 | #undef wxUSE_LOG_DIALOG | |
196 | #undef wxUSE_LISTBOOK | |
197 | #undef wxUSE_CHOICEBOOK | |
198 | #undef wxUSE_TREEBOOK | |
199 | #undef wxUSE_TOOLBOOK | |
200 | #undef wxUSE_CHOICEDLG | |
201 | #undef wxUSE_HELP | |
202 | #undef wxUSE_PROGRESSDLG | |
203 | #undef wxUSE_FONTDLG | |
204 | #undef wxUSE_FILEDLG | |
205 | #undef wxUSE_CHOICEDLG | |
206 | #undef wxUSE_NUMBERDLG | |
207 | #undef wxUSE_TEXTDLG | |
208 | #undef wxUSE_DIRDLG | |
209 | #undef wxUSE_STARTUP_TIPS | |
210 | #undef wxUSE_WIZARDDLG | |
211 | #undef wxUSE_TOOLBAR_NATIVE | |
212 | #undef wxUSE_FINDREPLDLG | |
213 | #undef wxUSE_TASKBARICON | |
214 | #undef wxUSE_REARRANGECTRL | |
215 | ||
216 | #define wxUSE_LOGWINDOW 0 | |
217 | #define wxUSE_LOG_DIALOG 0 | |
218 | #define wxUSE_LISTBOOK 0 | |
219 | #define wxUSE_CHOICEBOOK 0 | |
220 | #define wxUSE_TREEBOOK 0 | |
221 | #define wxUSE_TOOLBOOK 0 | |
222 | #define wxUSE_CHOICEDLG 0 | |
223 | #define wxUSE_HELP 0 | |
224 | #define wxUSE_PROGRESSDLG 0 | |
225 | #define wxUSE_FONTDLG 0 | |
226 | #define wxUSE_FILEDLG 0 | |
227 | #define wxUSE_CHOICEDLG 0 | |
228 | #define wxUSE_NUMBERDLG 0 | |
229 | #define wxUSE_TEXTDLG 0 | |
230 | #define wxUSE_DIRDLG 0 | |
231 | #define wxUSE_STARTUP_TIPS 0 | |
232 | #define wxUSE_WIZARDDLG 0 | |
233 | #define wxUSE_TOOLBAR_NATIVE 0 | |
234 | #define wxUSE_FINDREPLDLG 0 | |
235 | #define wxUSE_TASKBARICON 0 | |
236 | #define wxUSE_REARRANGECTRL 0 | |
237 | ||
238 | #if wxUSE_WXHTML_HELP | |
239 | #undef wxUSE_WXHTML_HELP | |
240 | #define wxUSE_WXHTML_HELP 0 | |
241 | #endif | |
242 | ||
243 | #if wxUSE_DOC_VIEW_ARCHITECTURE | |
244 | #undef wxUSE_DOC_VIEW_ARCHITECTURE | |
245 | #define wxUSE_DOC_VIEW_ARCHITECTURE 0 | |
246 | #endif | |
247 | ||
248 | #if wxUSE_PRINTING_ARCHITECTURE | |
249 | #undef wxUSE_PRINTING_ARCHITECTURE | |
250 | #define wxUSE_PRINTING_ARCHITECTURE 0 | |
251 | #endif | |
252 | ||
253 | #if wxUSE_MENUS | |
254 | #undef wxUSE_MENUS | |
255 | #define wxUSE_MENUS 0 | |
256 | #endif | |
257 | ||
258 | /* | |
259 | #if wxUSE_POPUPWIN | |
260 | #undef wxUSE_POPUPWIN | |
261 | #define wxUSE_POPUPWIN 0 | |
262 | #endif | |
263 | ||
264 | #if wxUSE_COMBOBOX | |
265 | #undef wxUSE_COMBOBOX | |
266 | #define wxUSE_COMBOBOX 0 | |
267 | #endif | |
268 | ||
269 | ||
270 | ||
271 | #if wxUSE_CALENDARCTRL | |
272 | #undef wxUSE_CALENDARCTRL | |
273 | #define wxUSE_CALENDARCTRL 0 | |
274 | #endif | |
275 | ||
276 | */ | |
277 | ||
278 | #if wxUSE_CLIPBOARD | |
279 | #undef wxUSE_CLIPBOARD | |
280 | #define wxUSE_CLIPBOARD 0 | |
281 | #endif // wxUSE_CLIPBOARD | |
282 | ||
283 | /* | |
284 | #if wxUSE_GLCANVAS | |
285 | #undef wxUSE_GLCANVAS | |
286 | #define wxUSE_GLCANVAS 0 | |
287 | #endif // wxUSE_GLCANVAS | |
288 | */ | |
289 | ||
290 | #if wxUSE_COLOURDLG | |
291 | #undef wxUSE_COLOURDLG | |
292 | #define wxUSE_COLOURDLG 0 | |
293 | #endif // wxUSE_COLOURDLG | |
294 | ||
295 | // iphone has a toolbar that is a regular UIView | |
296 | ||
297 | #ifdef wxOSX_USE_NATIVE_TOOLBAR | |
298 | #if wxOSX_USE_NATIVE_TOOLBAR | |
299 | #undef wxOSX_USE_NATIVE_TOOLBAR | |
300 | #define wxOSX_USE_NATIVE_TOOLBAR 0 | |
301 | #endif | |
302 | #else | |
303 | #define wxOSX_USE_NATIVE_TOOLBAR 0 | |
304 | #endif | |
305 | ||
306 | #if wxUSE_RIBBON | |
307 | #undef wxUSE_RIBBON | |
308 | #define wxUSE_RIBBON 0 | |
309 | #endif | |
310 | ||
311 | #if wxUSE_INFOBAR | |
312 | #undef wxUSE_INFOBAR | |
313 | #define wxUSE_INFOBAR 0 | |
314 | #endif | |
315 | ||
316 | #if wxUSE_FILE_HISTORY | |
317 | #undef wxUSE_FILE_HISTORY | |
318 | #define wxUSE_FILE_HISTORY 0 | |
319 | #endif | |
320 | ||
321 | #if wxUSE_NOTIFICATION_MESSAGE | |
322 | #undef wxUSE_NOTIFICATION_MESSAGE | |
323 | #define wxUSE_NOTIFICATION_MESSAGE 0 | |
324 | #endif | |
325 | ||
326 | #if wxUSE_PROPGRID | |
327 | #undef wxUSE_PROPGRID | |
328 | #define wxUSE_PROPGRID 0 | |
329 | #endif | |
330 | ||
331 | #if wxUSE_WEBKIT | |
332 | #undef wxUSE_WEBKIT | |
333 | #define wxUSE_WEBKIT 0 | |
334 | #endif | |
335 | ||
336 | #if wxUSE_DATAOBJ | |
337 | #undef wxUSE_DATAOBJ | |
338 | #define wxUSE_DATAOBJ 0 | |
339 | #endif | |
340 | ||
341 | #if wxUSE_UIACTIONSIMULATOR | |
342 | #undef wxUSE_UIACTIONSIMULATOR | |
343 | #define wxUSE_UIACTIONSIMULATOR 0 | |
344 | #endif | |
345 | ||
346 | #if wxUSE_RICHMSGDLG | |
347 | #undef wxUSE_RICHMSGDLG | |
348 | #define wxUSE_RICHMSGDLG 0 | |
349 | #endif | |
350 | ||
351 | #if wxUSE_RICHTEXT | |
352 | #undef wxUSE_RICHTEXT | |
353 | #define wxUSE_RICHTEXT 0 | |
354 | #endif | |
355 | ||
356 | #if wxUSE_TIMEPICKCTRL | |
357 | #undef wxUSE_TIMEPICKCTRL | |
358 | #define wxUSE_TIMEPICKCTRL 0 | |
359 | #endif | |
360 | ||
361 | #if wxUSE_RICHTOOLTIP | |
362 | #undef wxUSE_RICHTOOLTIP | |
363 | #define wxUSE_RICHTOOLTIP 0 | |
364 | #endif | |
365 | ||
366 | #endif | |
367 | /* _WX_OSX_IPHONE_CHKCONF_H_ */ | |
368 |