]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/osx/iphone/chkconf.h
Don't accept focus in the dummy main generic spin control window.
[wxWidgets.git] / include / wx / osx / iphone / chkconf.h
... / ...
CommitLineData
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
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_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
74#define wxUSE_BUTTON 1
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
91#ifndef __WXUNIVERSAL__
92#undef wxUSE_SCROLLBAR
93#define wxUSE_SCROLLBAR 0
94#endif
95
96#undef wxUSE_STATUSBAR
97#undef wxUSE_NATIVE_STATUSBAR
98#undef wxUSE_ABOUTDLG
99#undef wxUSE_STATLINE
100#undef wxUSE_COLLPANE
101#undef wxUSE_STATBMP
102#undef wxUSE_STATBOX
103#undef wxUSE_RADIOBTN
104#undef wxUSE_RADIOBOX
105#undef wxUSE_TOGGLEBTN
106
107
108#define wxUSE_STATUSBAR 0
109#define wxUSE_NATIVE_STATUSBAR 0
110#define wxUSE_ABOUTDLG 0
111#define wxUSE_STATLINE 0
112#define wxUSE_COLLPANE 0
113#define wxUSE_STATBMP 0
114#define wxUSE_STATBOX 0
115#define wxUSE_RADIOBTN 0
116#define wxUSE_RADIOBOX 0
117#define wxUSE_TOGGLEBTN 0
118
119#undef wxUSE_HTML
120
121#define wxUSE_HTML 0
122
123#undef wxUSE_RICHTEXT
124#define wxUSE_RICHTEXT 0
125
126#undef wxUSE_ANIMATIONCTRL
127#undef wxUSE_CALENDARCTRL
128#undef wxUSE_COMBOCTRL
129#undef wxUSE_ODCOMBOBOX
130#undef wxUSE_BITMAPCOMBOBOX
131#undef wxUSE_BMPBUTTON
132#undef wxUSE_CHECKLISTBOX
133#undef wxUSE_GRID
134#undef wxUSE_LISTBOX
135#undef wxUSE_LISTCTRL
136#undef wxUSE_NOTEBOOK
137#undef wxUSE_SPINBTN
138#undef wxUSE_SPINCTRL
139#undef wxUSE_TREECTRL
140#undef wxUSE_DATEPICKCTRL
141#undef wxUSE_DATAVIEWCTRL
142#undef wxUSE_EDITABLELISTBOX
143#undef wxUSE_FILEPICKERCTRL
144#undef wxUSE_DIRPICKERCTRL
145#undef wxUSE_FILECTRL
146#undef wxUSE_COLOURPICKERCTRL
147#undef wxUSE_FONTPICKERCTRL
148#undef wxUSE_DEBUGREPORT
149#undef wxUSE_HYPERLINKCTRL
150#undef wxUSE_STC
151#undef wxUSE_AUI
152#undef wxUSE_BUSYINFO
153#undef wxUSE_SEARCHCTRL
154
155#define wxUSE_ANIMATIONCTRL 0
156#define wxUSE_CALENDARCTRL 0
157#define wxUSE_COMBOCTRL 0
158#define wxUSE_ODCOMBOBOX 0
159#define wxUSE_BITMAPCOMBOBOX 0
160#define wxUSE_BMPBUTTON 0
161#define wxUSE_CHECKLISTBOX 0
162#define wxUSE_GRID 0
163#define wxUSE_LISTBOX 0
164#define wxUSE_LISTCTRL 0
165#define wxUSE_NOTEBOOK 0
166#define wxUSE_SPINBTN 0
167#define wxUSE_SPINCTRL 0
168#define wxUSE_TREECTRL 0
169#define wxUSE_DATEPICKCTRL 0
170#define wxUSE_DATAVIEWCTRL 0
171#define wxUSE_EDITABLELISTBOX 0
172#define wxUSE_FILEPICKERCTRL 0
173#define wxUSE_DIRPICKERCTRL 0
174#define wxUSE_FILECTRL 0
175#define wxUSE_COLOURPICKERCTRL 0
176#define wxUSE_FONTPICKERCTRL 0
177#define wxUSE_DEBUGREPORT 0
178#define wxUSE_HYPERLINKCTRL 0
179#define wxUSE_STC 0
180#define wxUSE_AUI 0
181#define wxUSE_BUSYINFO 0
182#define wxUSE_SEARCHCTRL 0
183
184#undef wxUSE_LOGWINDOW
185#undef wxUSE_LOG_DIALOG
186#undef wxUSE_LISTBOOK
187#undef wxUSE_CHOICEBOOK
188#undef wxUSE_TREEBOOK
189#undef wxUSE_TOOLBOOK
190#undef wxUSE_CHOICEDLG
191#undef wxUSE_HELP
192#undef wxUSE_PROGRESSDLG
193#undef wxUSE_FONTDLG
194#undef wxUSE_FILEDLG
195#undef wxUSE_CHOICEDLG
196#undef wxUSE_NUMBERDLG
197#undef wxUSE_TEXTDLG
198#undef wxUSE_DIRDLG
199#undef wxUSE_STARTUP_TIPS
200#undef wxUSE_WIZARDDLG
201#undef wxUSE_TOOLBAR_NATIVE
202#undef wxUSE_FINDREPLDLG
203#undef wxUSE_TASKBARICON
204#undef wxUSE_REARRANGECTRL
205
206#define wxUSE_LOGWINDOW 0
207#define wxUSE_LOG_DIALOG 0
208#define wxUSE_LISTBOOK 0
209#define wxUSE_CHOICEBOOK 0
210#define wxUSE_TREEBOOK 0
211#define wxUSE_TOOLBOOK 0
212#define wxUSE_CHOICEDLG 0
213#define wxUSE_HELP 0
214#define wxUSE_PROGRESSDLG 0
215#define wxUSE_FONTDLG 0
216#define wxUSE_FILEDLG 0
217#define wxUSE_CHOICEDLG 0
218#define wxUSE_NUMBERDLG 0
219#define wxUSE_TEXTDLG 0
220#define wxUSE_DIRDLG 0
221#define wxUSE_STARTUP_TIPS 0
222#define wxUSE_WIZARDDLG 0
223#define wxUSE_TOOLBAR_NATIVE 0
224#define wxUSE_FINDREPLDLG 0
225#define wxUSE_TASKBARICON 0
226#define wxUSE_REARRANGECTRL 0
227
228#if wxUSE_WXHTML_HELP
229#undef wxUSE_WXHTML_HELP
230#define wxUSE_WXHTML_HELP 0
231#endif
232
233#if wxUSE_DOC_VIEW_ARCHITECTURE
234#undef wxUSE_DOC_VIEW_ARCHITECTURE
235#define wxUSE_DOC_VIEW_ARCHITECTURE 0
236#endif
237
238#if wxUSE_PRINTING_ARCHITECTURE
239#undef wxUSE_PRINTING_ARCHITECTURE
240#define wxUSE_PRINTING_ARCHITECTURE 0
241#endif
242
243#if wxUSE_MENUS
244#undef wxUSE_MENUS
245#define wxUSE_MENUS 0
246#endif
247
248/*
249#if wxUSE_POPUPWIN
250#undef wxUSE_POPUPWIN
251#define wxUSE_POPUPWIN 0
252#endif
253
254#if wxUSE_COMBOBOX
255#undef wxUSE_COMBOBOX
256#define wxUSE_COMBOBOX 0
257#endif
258
259
260
261#if wxUSE_CALENDARCTRL
262#undef wxUSE_CALENDARCTRL
263#define wxUSE_CALENDARCTRL 0
264#endif
265
266*/
267
268#if wxUSE_CLIPBOARD
269#undef wxUSE_CLIPBOARD
270#define wxUSE_CLIPBOARD 0
271#endif // wxUSE_CLIPBOARD
272
273/*
274#if wxUSE_GLCANVAS
275#undef wxUSE_GLCANVAS
276#define wxUSE_GLCANVAS 0
277#endif // wxUSE_GLCANVAS
278*/
279
280#if wxUSE_COLOURDLG
281#undef wxUSE_COLOURDLG
282#define wxUSE_COLOURDLG 0
283#endif // wxUSE_COLOURDLG
284
285// iphone has a toolbar that is a regular UIView
286
287#if wxOSX_USE_NATIVE_TOOLBAR
288#undef wxOSX_USE_NATIVE_TOOLBAR
289#define wxOSX_USE_NATIVE_TOOLBAR 0
290#endif
291
292#endif
293 /* _WX_OSX_IPHONE_CHKCONF_H_ */
294