]> git.saurik.com Git - wxWidgets.git/blob - include/wx/univ/setup.h
fixed wxRegion::Offset() to not modify the shared regions
[wxWidgets.git] / include / wx / univ / setup.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/setup.h
3 // Purpose: configuration settings for wxUniversal/MSW
4 // Author: Vadim Zeitlin
5 // Modified by:
6 // Created: 14.08.00
7 // RCS-ID: $Id$
8 // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
9 // Licence: wxWindows license
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_UNIV_SETUP_H_
13 #define _WX_UNIV_SETUP_H_
14
15 // ----------------------------------------------------------------------------
16 // not all ports implement everything...
17 // ----------------------------------------------------------------------------
18
19 // FIXME: why do we have different sections for Mac/OS2/the rest? Most settings
20 // should have the same value, like this it's a real pain to update this
21 // file...
22
23 #define wxUSE_DYNAMIC_LOADER 0
24
25 #define wxUSE_PROTOCOL 0
26 #define wxUSE_URL 0
27
28 #define wxUSE_UNICODE_MSLU 0
29
30 #if defined(__WXMAC__)
31
32 #define wxUSE_GUI 1
33 #define WXWIN_COMPATIBILITY 0
34 #define wxICON_IS_BITMAP 0
35 #define wxFONT_SIZE_COMPATIBILITY 0
36 #define wxDIALOG_UNIT_COMPATIBILITY 0
37 #define wxUSE_DEBUG_CONTEXT 0
38 #define wxUSE_MEMORY_TRACING 0
39 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
40 #define wxUSE_DEBUG_NEW_ALWAYS 0
41 #define wxUSE_ON_FATAL_EXCEPTION 0
42
43 #define wxUSE_UNICODE 0
44 #define wxUSE_WCHAR_T 0
45 #define wxUSE_LOG 1
46 #define wxUSE_LOGGUI 1
47 #define wxUSE_LOGWINDOW 1
48 #define wxUSE_LOG_DIALOG 0
49 #define wxUSE_THREADS 0
50 #define wxUSE_STREAMS 0
51 #define wxUSE_STD_IOSTREAM 0
52 #define wxUSE_SERIAL 0
53 #define wxUSE_LONGLONG 1
54 #define wxUSE_TIMER 1
55 #define wxUSE_STOPWATCH 1
56 #define wxUSE_TIMEDATE 0
57 #define wxUSE_DATETIME 1
58 #define wxUSE_CONFIG 0
59 #define wxUSE_CONFIG_NATIVE 0
60 #define wxUSE_DIALUP_MANAGER 0
61 #define wxUSE_DYNLIB_CLASS 0
62 #define wxUSE_SOCKETS 0
63 #define wxUSE_FILESYSTEM 0
64 #define wxUSE_FS_ZIP 0
65 #define wxUSE_FS_INET 0
66 #define wxUSE_ZIPSTREAM 0
67 #define wxUSE_ZLIB 0
68 #define wxUSE_FILESYSTEM 0
69 #define wxUSE_FS_ZIP 0
70 #define wxUSE_FS_INET 0
71 #define wxUSE_ZIPSTREAM 0
72 #define wxUSE_ZLIB 0
73 #define wxUSE_APPLE_IEEE 0
74 #define wxUSE_FILE 1
75 #define wxUSE_FFILE 1
76 #define wxUSE_TEXTFILE 0
77 #define wxUSE_INTL 0
78 #define wxUSE_MENUS 0 // was 1
79 #define wxUSE_TOOLBAR 0
80 #define wxUSE_TOOLBAR_NATIVE 0
81 #define wxUSE_TOOLBAR_SIMPLE 0
82 #define wxUSE_NOTEBOOK 1
83 #define wxUSE_FONTMAP 0
84 #define wxUSE_MIMETYPE 0
85 #define wxUSE_IMAGE 1
86 #define wxUSE_SYSTEM_OPTIONS 1
87
88 #define wxUSE_CONTROLS 1
89 #define wxUSE_POPUPWIN 1
90 #define wxUSE_TIPWINDOW 1
91 #define wxUSE_BUTTON 1
92 #define wxUSE_BMPBUTTON 1
93 #define wxUSE_CALENDARCTRL 0
94 #define wxUSE_CARET 1
95 #define wxUSE_CHECKBOX 1
96 #define wxUSE_CHECKLISTBOX 1
97 #define wxUSE_CHOICE 0
98 #define wxUSE_COMBOBOX 0 // was 1
99 #define wxUSE_GAUGE 1
100 #define wxUSE_IMAGLIST 1
101 #define wxUSE_LISTBOX 1
102 #define wxUSE_LISTCTRL 0
103 #define wxUSE_RADIOBOX 1
104 #define wxUSE_RADIOBTN 1
105 #define wxUSE_SASH 0
106 #define wxUSE_SCROLLBAR 1
107 #define wxUSE_SLIDER 1
108 #define wxUSE_SPINBTN 1
109 #define wxUSE_SPINCTRL 1
110 #define wxUSE_STATBOX 1
111 #define wxUSE_STATLINE 1
112 #define wxUSE_STATTEXT 1
113 #define wxUSE_STATBMP 1
114 #define wxUSE_STATUSBAR 1
115 #define wxUSE_TEXTCTRL 1
116 #define wxUSE_TOOLTIPS 0
117 #define wxUSE_TREECTRL 0
118
119 #define wxUSE_NATIVE_STATUSBAR 0
120 #define wxUSE_BUTTONBAR 0
121 #define wxUSE_GRID 0
122 #define wxUSE_NEW_GRID 0
123 #define wxUSE_VALIDATORS 0
124 #define wxUSE_DC_CACHEING 0
125 #define wxUSE_ACCEL 1
126 #define wxUSE_GENERIC_DIALOGS_IN_MSW 0
127 #define wxUSE_COMMON_DIALOGS 0
128 #define wxUSE_TEXTDLG 0
129 #define wxUSE_PROGRESSDLG 0
130 #define wxUSE_BUSYINFO 0
131 #define wxUSE_DIRDLG 0
132 #define wxUSE_FONTDLG 0
133 #define wxUSE_FILEDLG 0
134 #define wxUSE_FILEDLG 0
135 #define wxUSE_COLOURDLG 0
136 #define wxUSE_CHOICEDLG 0
137 #define wxUSE_NUMBERDLG 1
138 #define wxUSE_STARTUP_TIPS 0
139 #define wxUSE_MSGDLG 1
140 #define wxUSE_SPLITTER 1
141 #define wxUSE_TAB_DIALOG 0
142
143 #define wxUSE_JOYSTICK 0
144 #define wxUSE_METAFILE 0
145 #define wxUSE_ENH_METAFILE 0
146 #define wxUSE_WIN_METAFILES_ALWAYS 0
147 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
148 #define wxUSE_MDI_ARCHITECTURE 0
149 #define wxUSE_PRINTING_ARCHITECTURE 0
150 #define wxUSE_HTML 0
151 #define wxUSE_PLOT 0
152 #define wxUSE_GLCANVAS 0
153 #define wxUSE_TREELAYOUT 0
154 #define wxUSE_IPC 0
155 #define wxUSE_HELP 0
156 #define wxUSE_MS_HTML_HELP 0
157 #define wxUSE_RESOURCES 0
158 #define wxUSE_CONSTRAINTS 1
159 #define wxUSE_CLIPBOARD 0
160 #define wxUSE_DATAOBJ 1
161 #define wxUSE_SPLINES 0
162 #define wxUSE_DRAG_AND_DROP 0
163 #define wxUSE_XPM_IN_MSW 1
164 #define wxUSE_XPM 1
165 #define wxUSE_IMAGE_LOADING_IN_MSW 1
166 #define wxUSE_RESOURCE_LOADING_IN_MSW 0
167 #define wxUSE_WX_RESOURCES 0
168 #define wxUSE_POSTSCRIPT 0
169 #define wxUSE_AFM_FOR_POSTSCRIPT 0
170 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
171 #define wxUSE_ODBC 0
172 #define wxODBC_FWD_ONLY_CURSORS 0
173 #define wxODBC_BACKWARD_COMPATABILITY 0
174 #define REMOVE_UNUSED_ARG 1
175 #define wxUSE_IOSTREAMH 0
176 #define wxUSE_LIBPNG 0
177 #define wxUSE_LIBJPEG 0
178 #define wxUSE_LIBTIFF 0
179 #define wxUSE_GIF 0
180 #define wxUSE_PNM 0
181 #define wxUSE_PCX 0
182
183 #define wxUSE_ICO_CUR 1
184
185 #define wxUSE_MFC 0
186 #define wxUSE_OLE 0
187 #define wxUSE_CTL3D 0
188 #define wxUSE_ITSY_BITSY 0
189 #define wxUSE_DYNAMIC_CLASSES 1
190
191
192 #elif defined(__WXPM__)
193
194 #define wxUSE_GUI 1
195 #define WXWIN_COMPATIBILITY 0
196 #define wxICON_IS_BITMAP 0
197 #define wxFONT_SIZE_COMPATIBILITY 0
198 #define wxDIALOG_UNIT_COMPATIBILITY 0
199 #define wxUSE_DEBUG_CONTEXT 0
200 #define wxUSE_MEMORY_TRACING 0
201 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
202 #define wxUSE_DEBUG_NEW_ALWAYS 0
203 #define wxUSE_ON_FATAL_EXCEPTION 0
204
205 #define wxUSE_UNICODE 0
206 #define wxUSE_WCHAR_T 0
207 #define wxUSE_LOG 1
208 #define wxUSE_LOGGUI 1
209 #define wxUSE_LOGWINDOW 1
210 #define wxUSE_LOG_DIALOG 0
211 #define wxUSE_THREADS 0
212 #define wxUSE_STREAMS 0
213 #define wxUSE_STD_IOSTREAM 0
214 #define wxUSE_SERIAL 0
215 #define wxUSE_LONGLONG 1
216 #define wxUSE_TIMER 1
217 #define wxUSE_STOPWATCH 1
218 #define wxUSE_TIMEDATE 0
219 #define wxUSE_DATETIME 1
220 #define wxUSE_CONFIG 0
221 #define wxUSE_CONFIG_NATIVE 0
222 #define wxUSE_DIALUP_MANAGER 0
223 #define wxUSE_DYNLIB_CLASS 0
224 #define wxUSE_SOCKETS 0
225 #define wxUSE_FILESYSTEM 0
226 #define wxUSE_FS_ZIP 0
227 #define wxUSE_FS_INET 0
228 #define wxUSE_ZIPSTREAM 0
229 #define wxUSE_ZLIB 0
230 #define wxUSE_APPLE_IEEE 0
231 #define wxUSE_FILE 1
232 #define wxUSE_FFILE 1
233 #define wxUSE_TEXTFILE 0
234 #define wxUSE_INTL 0
235 #define wxUSE_MENUS 1
236 #define wxUSE_TOOLBAR 0
237 #define wxUSE_TOOLBAR_NATIVE 0
238 #define wxUSE_TOOLBAR_SIMPLE 0
239 #define wxUSE_NOTEBOOK 1
240 #define wxUSE_FONTMAP 0
241 #define wxUSE_MIMETYPE 0
242 #define wxUSE_IMAGE 1
243 #define wxUSE_SYSTEM_OPTIONS 1
244
245 #define wxUSE_CONTROLS 1
246 #define wxUSE_POPUPWIN 1
247 #define wxUSE_TIPWINDOW 1
248 #define wxUSE_BUTTON 1
249 #define wxUSE_BMPBUTTON 1
250 #define wxUSE_CALENDARCTRL 0
251 #define wxUSE_CARET 1
252 #define wxUSE_CHECKBOX 1
253 #define wxUSE_CHECKLISTBOX 1
254 #define wxUSE_CHOICE 0
255 #define wxUSE_COMBOBOX 1
256 #define wxUSE_GAUGE 1
257 #define wxUSE_IMAGLIST 1
258 #define wxUSE_LISTBOX 1
259 #define wxUSE_LISTCTRL 0
260 #define wxUSE_RADIOBOX 1
261 #define wxUSE_RADIOBTN 1
262 #define wxUSE_SASH 0
263 #define wxUSE_SCROLLBAR 1
264 #define wxUSE_SLIDER 1
265 #define wxUSE_SPINBTN 1
266 #define wxUSE_SPINCTRL 1
267 #define wxUSE_STATBOX 1
268 #define wxUSE_STATLINE 1
269 #define wxUSE_STATTEXT 1
270 #define wxUSE_STATBMP 1
271 //#define wxUSE_STATUSBAR 0
272 #define wxUSE_TEXTCTRL 1
273 #define wxUSE_TOOLTIPS 0
274 #define wxUSE_TREECTRL 0
275
276 #define wxUSE_NATIVE_STATUSBAR 0
277 #define wxUSE_BUTTONBAR 0
278 #define wxUSE_GRID 0
279 #define wxUSE_NEW_GRID 0
280 #define wxUSE_VALIDATORS 0
281 #define wxUSE_DC_CACHEING 1
282 #define wxUSE_ACCEL 1
283 #define wxUSE_GENERIC_DIALOGS_IN_MSW 0
284 #define wxUSE_COMMON_DIALOGS 0
285 #define wxUSE_TEXTDLG 0
286 #define wxUSE_PROGRESSDLG 0
287 #define wxUSE_BUSYINFO 0
288 #define wxUSE_DIRDLG 0
289 #define wxUSE_FONTDLG 0
290 #define wxUSE_FILEDLG 0
291 #define wxUSE_COLOURDLG 0
292 #define wxUSE_TEXTDLG 0
293 #define wxUSE_CHOICEDLG 0
294 #define wxUSE_NUMBERDLG 0
295 #define wxUSE_STARTUP_TIPS 0
296 #define wxUSE_MSGDLG 1
297 #define wxUSE_SPLITTER 1
298 #define wxUSE_TAB_DIALOG 0
299
300 #define wxUSE_METAFILE 0
301 #define wxUSE_ENH_METAFILE 0
302 #define wxUSE_WIN_METAFILES_ALWAYS 0
303 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
304 #define wxUSE_MDI_ARCHITECTURE 0
305 #define wxUSE_PRINTING_ARCHITECTURE 0
306 #define wxUSE_HTML 0
307 #define wxUSE_PLOT 0
308 #define wxUSE_GLCANVAS 0
309 #define wxUSE_TREELAYOUT 0
310 #define wxUSE_IPC 0
311 #define wxUSE_HELP 0
312 #define wxUSE_MS_HTML_HELP 0
313 #define wxUSE_WXHTML_HELP 0
314 #define wxUSE_RESOURCES 0
315 #define wxUSE_CONSTRAINTS 1
316 #define wxUSE_CLIPBOARD 0
317 #define wxUSE_DATAOBJ 1
318 #define wxUSE_SPLINES 0
319 #define wxUSE_DRAG_AND_DROP 0
320 #define wxUSE_XPM_IN_MSW 1
321 #define wxUSE_XPM 1
322 #define wxUSE_IMAGE_LOADING_IN_MSW 1
323 #define wxUSE_RESOURCE_LOADING_IN_MSW 0
324 #define wxUSE_WX_RESOURCES 0
325 #define wxUSE_POSTSCRIPT 0
326 #define wxUSE_AFM_FOR_POSTSCRIPT 0
327 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
328 #define wxUSE_ODBC 0
329 #define wxODBC_FWD_ONLY_CURSORS 0
330 #define wxODBC_BACKWARD_COMPATABILITY 0
331 #define REMOVE_UNUSED_ARG 1
332 #define wxUSE_IOSTREAMH 0
333 #define wxUSE_LIBPNG 0
334 #define wxUSE_LIBJPEG 0
335 #define wxUSE_LIBTIFF 0
336 #define wxUSE_GIF 0
337 #define wxUSE_PNM 0
338 #define wxUSE_PCX 0
339
340 #define wxUSE_ICO_CUR 1
341
342 #define wxUSE_MFC 0
343 #define wxUSE_OLE 0
344 #define wxUSE_CTL3D 0
345 #define wxUSE_ITSY_BITSY 0
346 #define wxUSE_DYNAMIC_CLASSES 1
347
348 #define wxUSE_JOYSTICK 1
349 #define wxUSE_REGEX 0
350 #define wxUSE_STATUSBAR 1
351
352 #else // !Mac, !OS2
353
354 #define wxUSE_GUI 1
355 #define WXWIN_COMPATIBILITY 0
356 #define wxICON_IS_BITMAP 0
357 #define wxFONT_SIZE_COMPATIBILITY 0
358 #define wxDIALOG_UNIT_COMPATIBILITY 0
359 #define wxUSE_DEBUG_CONTEXT 0
360 #define wxUSE_MEMORY_TRACING 0
361 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
362 #define wxUSE_DEBUG_NEW_ALWAYS 0
363 #define wxUSE_ON_FATAL_EXCEPTION 0
364 #define wxUSE_REGEX 0
365
366 #define wxUSE_UNICODE 0
367 #define wxUSE_WCHAR_T 0
368 #define wxUSE_LOG 1
369 #define wxUSE_LOGGUI 1
370 #define wxUSE_LOGWINDOW 1
371 #define wxUSE_LOG_DIALOG 0
372 #define wxUSE_THREADS 0
373 #define wxUSE_STREAMS 0
374 #define wxUSE_STD_IOSTREAM 0
375 #define wxUSE_SERIAL 0
376 #define wxUSE_LONGLONG 1
377 #define wxUSE_TIMER 1
378 #define wxUSE_STOPWATCH 1
379 #define wxUSE_TIMEDATE 0
380 #define wxUSE_DATETIME 1
381 #define wxUSE_CONFIG 0
382 #define wxUSE_CONFIG_NATIVE 0
383 #define wxUSE_DIALUP_MANAGER 0
384 #define wxUSE_DYNLIB_CLASS 0
385 #define wxUSE_SOCKETS 0
386 #define wxUSE_FILESYSTEM 0
387 #define wxUSE_FS_ZIP 0
388 #define wxUSE_FS_INET 0
389 #define wxUSE_ZIPSTREAM 0
390 #define wxUSE_ZLIB 0
391 #define wxUSE_APPLE_IEEE 0
392 #define wxUSE_FILE 1
393 #define wxUSE_FFILE 1
394 #define wxUSE_TEXTFILE 0
395 #define wxUSE_TEXTBUFFER 0
396 #define wxUSE_INTL 0
397 #define wxUSE_MENUS 1
398 #define wxUSE_TOOLBAR 0
399 #define wxUSE_TOOLBAR_NATIVE 0
400 #define wxUSE_TOOLBAR_SIMPLE 0
401 #define wxUSE_NOTEBOOK 1
402 #define wxUSE_FONTMAP 0
403 #define wxUSE_MIMETYPE 0
404 #define wxUSE_IMAGE 1
405 #define wxUSE_SYSTEM_OPTIONS 1
406
407 #define wxUSE_CONTROLS 1
408 #define wxUSE_POPUPWIN 1
409 #define wxUSE_TIPWINDOW 1
410 #define wxUSE_BUTTON 1
411 #define wxUSE_BMPBUTTON 1
412 #define wxUSE_CALENDARCTRL 0
413 #define wxUSE_CARET 1
414 #define wxUSE_CHECKBOX 1
415 #define wxUSE_CHECKLISTBOX 1
416 #define wxUSE_CHOICE 0
417 #define wxUSE_COMBOBOX 1
418 #define wxUSE_GAUGE 1
419 #define wxUSE_IMAGLIST 1
420 #define wxUSE_LISTBOX 1
421 #define wxUSE_LISTCTRL 0
422 #define wxUSE_RADIOBOX 1
423 #define wxUSE_RADIOBTN 1
424 #define wxUSE_SASH 0
425 #define wxUSE_SCROLLBAR 1
426 #define wxUSE_SLIDER 1
427 #define wxUSE_SPINBTN 1
428 #define wxUSE_SPINCTRL 1
429 #define wxUSE_STATBOX 1
430 #define wxUSE_STATLINE 1
431 #define wxUSE_STATTEXT 1
432 #define wxUSE_STATBMP 1
433 #define wxUSE_STATUSBAR 1
434 #define wxUSE_TEXTCTRL 1
435 #define wxUSE_TOOLTIPS 0
436 #define wxUSE_TREECTRL 0
437
438 #define wxUSE_NATIVE_STATUSBAR 0
439 #define wxUSE_BUTTONBAR 0
440 #define wxUSE_GRID 0
441 #define wxUSE_NEW_GRID 0
442 #define wxUSE_VALIDATORS 0
443 #define wxUSE_DC_CACHEING 1
444 #define wxUSE_ACCEL 1
445 #define wxUSE_GENERIC_DIALOGS_IN_MSW 0
446 #define wxUSE_COMMON_DIALOGS 0
447 #define wxUSE_TEXTDLG 0
448 #define wxUSE_PROGRESSDLG 0
449 #define wxUSE_BUSYINFO 0
450 #define wxUSE_DIRDLG 0
451 #define wxUSE_FONTDLG 0
452 #define wxUSE_FILEDLG 0
453 #define wxUSE_COLOURDLG 0
454 #define wxUSE_TEXTDLG 0
455 #define wxUSE_CHOICEDLG 0
456 #define wxUSE_NUMBERDLG 1
457 #define wxUSE_STARTUP_TIPS 0
458 #define wxUSE_MSGDLG 1
459 #define wxUSE_SPLITTER 1
460 #define wxUSE_TAB_DIALOG 0
461
462 #define wxUSE_SPLASH 1
463 #define wxUSE_JOYSTICK 0
464 #define wxUSE_METAFILE 0
465 #define wxUSE_ENH_METAFILE 0
466 #define wxUSE_WIN_METAFILES_ALWAYS 0
467 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
468 #define wxUSE_MDI_ARCHITECTURE 0
469 #define wxUSE_PRINTING_ARCHITECTURE 0
470 #define wxUSE_HTML 0
471 #define wxUSE_PLOT 0
472 #define wxUSE_GLCANVAS 0
473 #define wxUSE_TREELAYOUT 0
474 #define wxUSE_IPC 0
475 #define wxUSE_HELP 0
476 #define wxUSE_MS_HTML_HELP 0
477 #define wxUSE_WXHTML_HELP 0
478 #define wxUSE_RESOURCES 0
479 #define wxUSE_CONSTRAINTS 1
480 #define wxUSE_CLIPBOARD 0
481 #define wxUSE_DATAOBJ 1
482 #define wxUSE_SPLINES 0
483 #define wxUSE_DRAG_AND_DROP 0
484 #define wxUSE_XPM_IN_MSW 1
485 #define wxUSE_XPM 1
486 #define wxUSE_IMAGE_LOADING_IN_MSW 1
487 #define wxUSE_RESOURCE_LOADING_IN_MSW 0
488 #define wxUSE_WX_RESOURCES 0
489 #define wxUSE_POSTSCRIPT 0
490 #define wxUSE_AFM_FOR_POSTSCRIPT 0
491 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
492 #define wxUSE_ODBC 0
493 #define wxODBC_FWD_ONLY_CURSORS 0
494 #define wxODBC_BACKWARD_COMPATABILITY 0
495 #define REMOVE_UNUSED_ARG 1
496 #define wxUSE_IOSTREAMH 0
497 #define wxUSE_LIBPNG 0
498 #define wxUSE_LIBJPEG 0
499 #define wxUSE_LIBTIFF 0
500 #define wxUSE_GIF 0
501 #define wxUSE_PNM 0
502 #define wxUSE_PCX 0
503
504 #define wxUSE_ICO_CUR 1
505
506 #define wxUSE_MFC 0
507 #define wxUSE_OLE 0
508 #define wxUSE_CTL3D 0
509 #define wxUSE_ITSY_BITSY 0
510 #define wxUSE_DYNAMIC_CLASSES 1
511
512 #endif
513
514 #define wxUSE_PALETTE 0
515
516 #endif // _WX_UNIV_SETUP_H_