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