]>
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 | ||
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 | ||
524c47aa | 74 | #define wxUSE_BUTTON 1 |
d3929256 SC |
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 | ||
4e16d05a SC |
91 | #ifndef __WXUNIVERSAL__ |
92 | #undef wxUSE_SCROLLBAR | |
d3929256 | 93 | #define wxUSE_SCROLLBAR 0 |
4e16d05a | 94 | #endif |
d3929256 | 95 | |
03647350 VZ |
96 | #undef wxUSE_STATUSBAR |
97 | #undef wxUSE_NATIVE_STATUSBAR | |
03647350 | 98 | #undef wxUSE_ABOUTDLG |
03647350 VZ |
99 | #undef wxUSE_STATLINE |
100 | #undef wxUSE_COLLPANE | |
101 | #undef wxUSE_STATBMP | |
102 | #undef wxUSE_STATBOX | |
03647350 VZ |
103 | #undef wxUSE_RADIOBTN |
104 | #undef wxUSE_RADIOBOX | |
d3929256 SC |
105 | #undef wxUSE_TOGGLEBTN |
106 | ||
107 | ||
108 | #define wxUSE_STATUSBAR 0 | |
524c47aa | 109 | #define wxUSE_NATIVE_STATUSBAR 0 |
d3929256 | 110 | #define wxUSE_ABOUTDLG 0 |
d3929256 SC |
111 | #define wxUSE_STATLINE 0 |
112 | #define wxUSE_COLLPANE 0 | |
113 | #define wxUSE_STATBMP 0 | |
114 | #define wxUSE_STATBOX 0 | |
d3929256 SC |
115 | #define wxUSE_RADIOBTN 0 |
116 | #define wxUSE_RADIOBOX 0 | |
117 | #define wxUSE_TOGGLEBTN 0 | |
118 | ||
03647350 | 119 | #undef wxUSE_HTML |
524c47aa | 120 | |
524c47aa SC |
121 | #define wxUSE_HTML 0 |
122 | ||
03647350 | 123 | #undef wxUSE_RICHTEXT |
524c47aa SC |
124 | #define wxUSE_RICHTEXT 0 |
125 | ||
03647350 VZ |
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 | |
03647350 VZ |
133 | #undef wxUSE_GRID |
134 | #undef wxUSE_LISTBOX | |
135 | #undef wxUSE_LISTCTRL | |
136 | #undef wxUSE_NOTEBOOK | |
03647350 VZ |
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 | |
d3929256 | 151 | #undef wxUSE_AUI |
03647350 VZ |
152 | #undef wxUSE_BUSYINFO |
153 | #undef wxUSE_SEARCHCTRL | |
d3929256 | 154 | |
524c47aa SC |
155 | #define wxUSE_ANIMATIONCTRL 0 |
156 | #define wxUSE_CALENDARCTRL 0 | |
524c47aa SC |
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 | |
524c47aa SC |
162 | #define wxUSE_GRID 0 |
163 | #define wxUSE_LISTBOX 0 | |
164 | #define wxUSE_LISTCTRL 0 | |
165 | #define wxUSE_NOTEBOOK 0 | |
524c47aa SC |
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 | ||
03647350 VZ |
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 | |
d3929256 | 205 | |
524c47aa SC |
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 | |
524c47aa | 225 | #define wxUSE_TASKBARICON 0 |
d3929256 SC |
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 | |
524c47aa | 242 | |
d3929256 SC |
243 | #if wxUSE_MENUS |
244 | #undef wxUSE_MENUS | |
245 | #define wxUSE_MENUS 0 | |
246 | #endif | |
524c47aa | 247 | |
462a08f1 SC |
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 | ||
462a08f1 SC |
260 | |
261 | #if wxUSE_CALENDARCTRL | |
262 | #undef wxUSE_CALENDARCTRL | |
263 | #define wxUSE_CALENDARCTRL 0 | |
264 | #endif | |
265 | ||
462a08f1 SC |
266 | */ |
267 | ||
268 | #if wxUSE_CLIPBOARD | |
269 | #undef wxUSE_CLIPBOARD | |
270 | #define wxUSE_CLIPBOARD 0 | |
271 | #endif // wxUSE_CLIPBOARD | |
272 | ||
4e16d05a | 273 | /* |
d3929256 SC |
274 | #if wxUSE_GLCANVAS |
275 | #undef wxUSE_GLCANVAS | |
276 | #define wxUSE_GLCANVAS 0 | |
277 | #endif // wxUSE_GLCANVAS | |
4e16d05a | 278 | */ |
d3929256 SC |
279 | |
280 | #if wxUSE_COLOURDLG | |
281 | #undef wxUSE_COLOURDLG | |
282 | #define wxUSE_COLOURDLG 0 | |
283 | #endif // wxUSE_COLOURDLG | |
284 | ||
98040646 SC |
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 | ||
462a08f1 SC |
292 | #endif |
293 | /* _WX_OSX_IPHONE_CHKCONF_H_ */ | |
294 |