]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/iphone/chkconf.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / osx / iphone / chkconf.h
CommitLineData
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
462a08f1
SC
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
64afee85
FM
14/*
15 * text rendering system
462a08f1
SC
16 */
17
64afee85 18/* we have different options and we turn on all that make sense
462a08f1
SC
19 * under a certain platform
20 */
21
721ba9cb 22#define wxOSX_USE_CORE_TEXT 1
462a08f1 23#define wxOSX_USE_ATSU_TEXT 0
03647350 24#define wxHAS_OPENGL_ES
462a08f1 25
4e16d05a 26#define wxOSX_USE_QUICKTIME 0
0770c0a0 27#define wxOSX_USE_AUDIOTOOLBOX 1
4e16d05a 28
462a08f1
SC
29/*
30 * turning off capabilities that don't work under iphone yet
31 */
32
6494f8d1
JS
33#if wxUSE_MIMETYPE
34#undef wxUSE_MIMETYPE
35#define wxUSE_MIMETYPE 0
36#endif
37
462a08f1
SC
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
c2ba3059
SC
68#if wxUSE_TREELISTCTRL
69#undef wxUSE_TREELISTCTRL
70#define wxUSE_TREELISTCTRL 0
71#endif
72
462a08f1
SC
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
524c47aa 83#define wxUSE_BUTTON 1
d3929256
SC
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
4e16d05a 100#ifndef __WXUNIVERSAL__
ce00f59b 101#undef wxUSE_SCROLLBAR
d3929256 102#define wxUSE_SCROLLBAR 0
4e16d05a 103#endif
d3929256 104
03647350
VZ
105#undef wxUSE_STATUSBAR
106#undef wxUSE_NATIVE_STATUSBAR
03647350 107#undef wxUSE_ABOUTDLG
03647350
VZ
108#undef wxUSE_STATLINE
109#undef wxUSE_COLLPANE
110#undef wxUSE_STATBMP
111#undef wxUSE_STATBOX
03647350
VZ
112#undef wxUSE_RADIOBTN
113#undef wxUSE_RADIOBOX
d3929256
SC
114#undef wxUSE_TOGGLEBTN
115
116
117#define wxUSE_STATUSBAR 0
524c47aa 118#define wxUSE_NATIVE_STATUSBAR 0
d3929256 119#define wxUSE_ABOUTDLG 0
d3929256
SC
120#define wxUSE_STATLINE 0
121#define wxUSE_COLLPANE 0
122#define wxUSE_STATBMP 0
123#define wxUSE_STATBOX 0
d3929256
SC
124#define wxUSE_RADIOBTN 0
125#define wxUSE_RADIOBOX 0
126#define wxUSE_TOGGLEBTN 0
127
03647350 128#undef wxUSE_HTML
524c47aa 129
524c47aa
SC
130#define wxUSE_HTML 0
131
03647350 132#undef wxUSE_RICHTEXT
524c47aa
SC
133#define wxUSE_RICHTEXT 0
134
03647350
VZ
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
03647350
VZ
142#undef wxUSE_GRID
143#undef wxUSE_LISTBOX
144#undef wxUSE_LISTCTRL
145#undef wxUSE_NOTEBOOK
03647350
VZ
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
d3929256 160#undef wxUSE_AUI
03647350
VZ
161#undef wxUSE_BUSYINFO
162#undef wxUSE_SEARCHCTRL
d3929256 163
524c47aa
SC
164#define wxUSE_ANIMATIONCTRL 0
165#define wxUSE_CALENDARCTRL 0
524c47aa
SC
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
524c47aa
SC
171#define wxUSE_GRID 0
172#define wxUSE_LISTBOX 0
173#define wxUSE_LISTCTRL 0
174#define wxUSE_NOTEBOOK 0
524c47aa
SC
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
03647350
VZ
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
d3929256 214
524c47aa
SC
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
524c47aa 234#define wxUSE_TASKBARICON 0
d3929256
SC
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
524c47aa 251
d3929256
SC
252#if wxUSE_MENUS
253#undef wxUSE_MENUS
254#define wxUSE_MENUS 0
255#endif
524c47aa 256
462a08f1
SC
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
462a08f1
SC
269
270#if wxUSE_CALENDARCTRL
271#undef wxUSE_CALENDARCTRL
272#define wxUSE_CALENDARCTRL 0
273#endif
274
462a08f1
SC
275*/
276
277#if wxUSE_CLIPBOARD
278#undef wxUSE_CLIPBOARD
279#define wxUSE_CLIPBOARD 0
280#endif // wxUSE_CLIPBOARD
281
4e16d05a 282/*
d3929256
SC
283#if wxUSE_GLCANVAS
284#undef wxUSE_GLCANVAS
285#define wxUSE_GLCANVAS 0
286#endif // wxUSE_GLCANVAS
4e16d05a 287*/
d3929256
SC
288
289#if wxUSE_COLOURDLG
290#undef wxUSE_COLOURDLG
291#define wxUSE_COLOURDLG 0
292#endif // wxUSE_COLOURDLG
293
98040646
SC
294// iphone has a toolbar that is a regular UIView
295
7304f385 296#ifdef wxOSX_USE_NATIVE_TOOLBAR
98040646
SC
297#if wxOSX_USE_NATIVE_TOOLBAR
298#undef wxOSX_USE_NATIVE_TOOLBAR
299#define wxOSX_USE_NATIVE_TOOLBAR 0
300#endif
7304f385
JS
301#else
302#define wxOSX_USE_NATIVE_TOOLBAR 0
303#endif
98040646 304
afd5d91c
SC
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
b213ba75
SC
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
ad71431b
SC
355#if wxUSE_TIMEPICKCTRL
356#undef wxUSE_TIMEPICKCTRL
357#define wxUSE_TIMEPICKCTRL 0
358#endif
359
65c01ad0
SC
360#if wxUSE_RICHTOOLTIP
361#undef wxUSE_RICHTOOLTIP
362#define wxUSE_RICHTOOLTIP 0
363#endif
364
462a08f1
SC
365#endif
366 /* _WX_OSX_IPHONE_CHKCONF_H_ */
367