]> git.saurik.com Git - wxWidgets.git/blob - include/wx/chkconf.h
600ad94440f2998b34cddc432f63b9065421d771
[wxWidgets.git] / include / wx / chkconf.h
1 /*
2 * Name: wx/chkconf.h
3 * Purpose: check the config settings for consistency
4 * Author: Vadim Zeitlin
5 * Modified by:
6 * Created: 09.08.00
7 * RCS-ID: $Id$
8 * Copyright: (c) 2000 Vadim Zeitlin <vadim@wxwidgets.org>
9 * Licence: wxWindows licence
10 */
11
12 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
13
14 /*
15 Platform-specific checking.
16 */
17
18 #if defined(__WXPALMOS__)
19 # include "wx/palmos/chkconf.h"
20 #elif defined(__WXWINCE__)
21 # include "wx/msw/wince/chkconf.h"
22 #elif defined(__WXMSW__)
23 # include "wx/msw/chkconf.h"
24 #elif defined(__WXMAC__)
25 # include "wx/mac/chkconf.h"
26 #elif defined(__OS2__)
27 # include "wx/os2/chkconf.h"
28 #elif defined(__WXMGL__)
29 # include "wx/mgl/chkconf.h"
30 #elif defined(__WXDFB__)
31 # include "wx/dfb/chkconf.h"
32 #elif defined(__WXMOTIF__)
33 # include "wx/motif/chkconf.h"
34 #elif defined(__WXX11__)
35 # include "wx/x11/chkconf.h"
36 #endif
37
38 #ifdef __WXUNIVERSAL__
39 # include "wx/univ/chkconf.h"
40 #endif
41
42 /*
43 this global setting determines what should we do if the setting FOO
44 requires BAR and BAR is not set: we can either silently unset FOO as well
45 (do this if you're trying to build the smallest possible library) or give an
46 error and abort (default as leads to least surprizing behaviour)
47 */
48 #define wxABORT_ON_CONFIG_ERROR
49
50 /*
51 global features
52 */
53
54 /* GUI build by default */
55 #if !defined(wxUSE_GUI)
56 # define wxUSE_GUI 1
57 #endif /* !defined(wxUSE_GUI) */
58
59 /*
60 If we're compiling without support for threads/exceptions we have to
61 disable the corresponding features.
62 */
63 #ifdef wxNO_THREADS
64 # undef wxUSE_THREADS
65 # define wxUSE_THREADS 0
66 #endif /* wxNO_THREADS */
67
68 #ifdef wxNO_EXCEPTIONS
69 # undef wxUSE_EXCEPTIONS
70 # define wxUSE_EXCEPTIONS 0
71 #endif /* wxNO_EXCEPTIONS */
72
73 /* we also must disable exceptions if compiler doesn't support them */
74 #if defined(_MSC_VER) && !defined(_CPPUNWIND)
75 # undef wxUSE_EXCEPTIONS
76 # define wxUSE_EXCEPTIONS 0
77 #endif /* VC++ without exceptions support */
78
79
80 /*
81 tests for non GUI features
82
83 please keep the options in alphabetical order!
84 */
85
86 #ifndef wxUSE_CRASHREPORT
87 /* this one is special: as currently it is Windows-only, don't force it
88 to be defined on other platforms */
89 # if defined(wxABORT_ON_CONFIG_ERROR) && defined(__WXMSW__)
90 # error "wxUSE_CRASHREPORT must be defined."
91 # else
92 # define wxUSE_CRASHREPORT 0
93 # endif
94 #endif /* !defined(wxUSE_CRASHREPORT) */
95
96 #ifndef wxUSE_DYNLIB_CLASS
97 # ifdef wxABORT_ON_CONFIG_ERROR
98 # error "wxUSE_DYNLIB_CLASS must be defined."
99 # else
100 # define wxUSE_DYNLIB_CLASS 0
101 # endif
102 #endif /* !defined(wxUSE_DYNLIB_CLASS) */
103
104 #ifndef wxUSE_EXCEPTIONS
105 # ifdef wxABORT_ON_CONFIG_ERROR
106 # error "wxUSE_EXCEPTIONS must be defined."
107 # else
108 # define wxUSE_EXCEPTIONS 0
109 # endif
110 #endif /* !defined(wxUSE_EXCEPTIONS) */
111
112 #ifndef wxUSE_FILESYSTEM
113 # ifdef wxABORT_ON_CONFIG_ERROR
114 # error "wxUSE_FILESYSTEM must be defined."
115 # else
116 # define wxUSE_FILESYSTEM 0
117 # endif
118 #endif /* !defined(wxUSE_FILESYSTEM) */
119
120 #ifndef wxUSE_FS_ARCHIVE
121 # ifdef wxABORT_ON_CONFIG_ERROR
122 # error "wxUSE_FS_ARCHIVE must be defined."
123 # else
124 # define wxUSE_FS_ARCHIVE 0
125 # endif
126 #endif /* !defined(wxUSE_FS_ARCHIVE) */
127
128 /* don't give an error about this one yet, it's not fully implemented */
129 #ifndef wxUSE_FSVOLUME
130 # define wxUSE_FSVOLUME 0
131 #endif /* !defined(wxUSE_FSVOLUME) */
132
133 #ifndef wxUSE_DYNAMIC_LOADER
134 # ifdef wxABORT_ON_CONFIG_ERROR
135 # error "wxUSE_DYNAMIC_LOADER must be defined."
136 # else
137 # define wxUSE_DYNAMIC_LOADER 0
138 # endif
139 #endif /* !defined(wxUSE_DYNAMIC_LOADER) */
140
141 #ifndef wxUSE_LOG
142 # ifdef wxABORT_ON_CONFIG_ERROR
143 # error "wxUSE_LOG must be defined."
144 # else
145 # define wxUSE_LOG 0
146 # endif
147 #endif /* !defined(wxUSE_LOG) */
148
149 #ifndef wxUSE_LONGLONG
150 # ifdef wxABORT_ON_CONFIG_ERROR
151 # error "wxUSE_LONGLONG must be defined."
152 # else
153 # define wxUSE_LONGLONG 0
154 # endif
155 #endif /* !defined(wxUSE_LONGLONG) */
156
157 #ifndef wxUSE_MIMETYPE
158 # ifdef wxABORT_ON_CONFIG_ERROR
159 # error "wxUSE_MIMETYPE must be defined."
160 # else
161 # define wxUSE_MIMETYPE 0
162 # endif
163 #endif /* !defined(wxUSE_MIMETYPE) */
164
165 #ifndef wxUSE_ON_FATAL_EXCEPTION
166 # ifdef wxABORT_ON_CONFIG_ERROR
167 # error "wxUSE_ON_FATAL_EXCEPTION must be defined."
168 # else
169 # define wxUSE_ON_FATAL_EXCEPTION 0
170 # endif
171 #endif /* !defined(wxUSE_ON_FATAL_EXCEPTION) */
172
173 #ifndef wxUSE_PRINTF_POS_PARAMS
174 # ifdef wxABORT_ON_CONFIG_ERROR
175 # error "wxUSE_PRINTF_POS_PARAMS must be defined."
176 # else
177 # define wxUSE_PRINTF_POS_PARAMS 0
178 # endif
179 #endif /* !defined(wxUSE_PRINTF_POS_PARAMS) */
180
181 #ifndef wxUSE_PROTOCOL
182 # ifdef wxABORT_ON_CONFIG_ERROR
183 # error "wxUSE_PROTOCOL must be defined."
184 # else
185 # define wxUSE_PROTOCOL 0
186 # endif
187 #endif /* !defined(wxUSE_PROTOCOL) */
188
189 /* we may not define wxUSE_PROTOCOL_XXX if wxUSE_PROTOCOL is set to 0 */
190 #if !wxUSE_PROTOCOL
191 # undef wxUSE_PROTOCOL_HTTP
192 # undef wxUSE_PROTOCOL_FTP
193 # undef wxUSE_PROTOCOL_FILE
194 # define wxUSE_PROTOCOL_HTTP 0
195 # define wxUSE_PROTOCOL_FTP 0
196 # define wxUSE_PROTOCOL_FILE 0
197 #endif /* wxUSE_PROTOCOL */
198
199 #ifndef wxUSE_PROTOCOL_HTTP
200 # ifdef wxABORT_ON_CONFIG_ERROR
201 # error "wxUSE_PROTOCOL_HTTP must be defined."
202 # else
203 # define wxUSE_PROTOCOL_HTTP 0
204 # endif
205 #endif /* !defined(wxUSE_PROTOCOL_HTTP) */
206
207 #ifndef wxUSE_PROTOCOL_FTP
208 # ifdef wxABORT_ON_CONFIG_ERROR
209 # error "wxUSE_PROTOCOL_FTP must be defined."
210 # else
211 # define wxUSE_PROTOCOL_FTP 0
212 # endif
213 #endif /* !defined(wxUSE_PROTOCOL_FTP) */
214
215 #ifndef wxUSE_PROTOCOL_FILE
216 # ifdef wxABORT_ON_CONFIG_ERROR
217 # error "wxUSE_PROTOCOL_FILE must be defined."
218 # else
219 # define wxUSE_PROTOCOL_FILE 0
220 # endif
221 #endif /* !defined(wxUSE_PROTOCOL_FILE) */
222
223 #ifndef wxUSE_REGEX
224 # ifdef wxABORT_ON_CONFIG_ERROR
225 # error "wxUSE_REGEX must be defined."
226 # else
227 # define wxUSE_REGEX 0
228 # endif
229 #endif /* !defined(wxUSE_REGEX) */
230
231 #ifndef wxUSE_STDPATHS
232 # ifdef wxABORT_ON_CONFIG_ERROR
233 # error "wxUSE_STDPATHS must be defined."
234 # else
235 # define wxUSE_STDPATHS 1
236 # endif
237 #endif /* !defined(wxUSE_STDPATHS) */
238
239 #ifndef wxUSE_XML
240 # ifdef wxABORT_ON_CONFIG_ERROR
241 # error "wxUSE_XML must be defined."
242 # else
243 # define wxUSE_XML 0
244 # endif
245 #endif /* !defined(wxUSE_XML) */
246
247 #ifndef wxUSE_SOCKETS
248 # ifdef wxABORT_ON_CONFIG_ERROR
249 # error "wxUSE_SOCKETS must be defined."
250 # else
251 # define wxUSE_SOCKETS 0
252 # endif
253 #endif /* !defined(wxUSE_SOCKETS) */
254
255 #ifndef wxUSE_STREAMS
256 # ifdef wxABORT_ON_CONFIG_ERROR
257 # error "wxUSE_STREAMS must be defined."
258 # else
259 # define wxUSE_STREAMS 0
260 # endif
261 #endif /* !defined(wxUSE_STREAMS) */
262
263 #ifndef wxUSE_STOPWATCH
264 # ifdef wxABORT_ON_CONFIG_ERROR
265 # error "wxUSE_STOPWATCH must be defined."
266 # else
267 # define wxUSE_STOPWATCH 0
268 # endif
269 #endif /* !defined(wxUSE_STOPWATCH) */
270
271 #ifndef wxUSE_TEXTBUFFER
272 # ifdef wxABORT_ON_CONFIG_ERROR
273 # error "wxUSE_TEXTBUFFER must be defined."
274 # else
275 # define wxUSE_TEXTBUFFER 0
276 # endif
277 #endif /* !defined(wxUSE_TEXTBUFFER) */
278
279 #ifndef wxUSE_TEXTFILE
280 # ifdef wxABORT_ON_CONFIG_ERROR
281 # error "wxUSE_TEXTFILE must be defined."
282 # else
283 # define wxUSE_TEXTFILE 0
284 # endif
285 #endif /* !defined(wxUSE_TEXTFILE) */
286
287 #ifndef wxUSE_UNICODE
288 # ifdef wxABORT_ON_CONFIG_ERROR
289 # error "wxUSE_UNICODE must be defined."
290 # else
291 # define wxUSE_UNICODE 0
292 # endif
293 #endif /* !defined(wxUSE_UNICODE) */
294
295 #ifndef wxUSE_URL
296 # ifdef wxABORT_ON_CONFIG_ERROR
297 # error "wxUSE_URL must be defined."
298 # else
299 # define wxUSE_URL 0
300 # endif
301 #endif /* !defined(wxUSE_URL) */
302
303 #ifndef wxUSE_VARIANT
304 # ifdef wxABORT_ON_CONFIG_ERROR
305 # error "wxUSE_VARIANT must be defined."
306 # else
307 # define wxUSE_VARIANT 0
308 # endif
309 #endif /* wxUSE_VARIANT */
310
311 /*
312 all these tests are for GUI only
313
314 please keep the options in alphabetical order!
315 */
316 #if wxUSE_GUI
317
318 /*
319 all of the settings tested below must be defined or we'd get an error from
320 preprocessor about invalid integer expression
321 */
322
323 #ifndef wxUSE_ABOUTDLG
324 # ifdef wxABORT_ON_CONFIG_ERROR
325 # error "wxUSE_ABOUTDLG must be defined."
326 # else
327 # define wxUSE_ABOUTDLG 0
328 # endif
329 #endif /* !defined(wxUSE_ABOUTDLG) */
330
331 #ifndef wxUSE_ACCEL
332 # ifdef wxABORT_ON_CONFIG_ERROR
333 # error "wxUSE_ACCEL must be defined."
334 # else
335 # define wxUSE_ACCEL 0
336 # endif
337 #endif /* !defined(wxUSE_ACCEL) */
338
339 #ifndef wxUSE_ANIMATIONCTRL
340 # ifdef wxABORT_ON_CONFIG_ERROR
341 # error "wxUSE_ANIMATIONCTRL must be defined."
342 # else
343 # define wxUSE_ANIMATIONCTRL 0
344 # endif
345 #endif /* !defined(wxUSE_ANIMATIONCTRL) */
346
347 #ifndef wxUSE_BITMAPCOMBOBOX
348 # ifdef wxABORT_ON_CONFIG_ERROR
349 # error "wxUSE_BITMAPCOMBOBOX must be defined."
350 # else
351 # define wxUSE_BITMAPCOMBOBOX 0
352 # endif
353 #endif /* !defined(wxUSE_BITMAPCOMBOBOX) */
354
355 #ifndef wxUSE_BMPBUTTON
356 # ifdef wxABORT_ON_CONFIG_ERROR
357 # error "wxUSE_BMPBUTTON must be defined."
358 # else
359 # define wxUSE_BMPBUTTON 0
360 # endif
361 #endif /* !defined(wxUSE_BMPBUTTON) */
362
363 #ifndef wxUSE_BUTTON
364 # ifdef wxABORT_ON_CONFIG_ERROR
365 # error "wxUSE_BUTTON must be defined."
366 # else
367 # define wxUSE_BUTTON 0
368 # endif
369 #endif /* !defined(wxUSE_BUTTON) */
370
371 #ifndef wxUSE_CALENDARCTRL
372 # ifdef wxABORT_ON_CONFIG_ERROR
373 # error "wxUSE_CALENDARCTRL must be defined."
374 # else
375 # define wxUSE_CALENDARCTRL 0
376 # endif
377 #endif /* !defined(wxUSE_CALENDARCTRL) */
378
379 #ifndef wxUSE_CARET
380 # ifdef wxABORT_ON_CONFIG_ERROR
381 # error "wxUSE_CARET must be defined."
382 # else
383 # define wxUSE_CARET 0
384 # endif
385 #endif /* !defined(wxUSE_CARET) */
386
387 #ifndef wxUSE_CHECKBOX
388 # ifdef wxABORT_ON_CONFIG_ERROR
389 # error "wxUSE_CHECKBOX must be defined."
390 # else
391 # define wxUSE_CHECKBOX 0
392 # endif
393 #endif /* !defined(wxUSE_CHECKBOX) */
394
395 #ifndef wxUSE_CHECKLISTBOX
396 # ifdef wxABORT_ON_CONFIG_ERROR
397 # error "wxUSE_CHECKLISTBOX must be defined."
398 # else
399 # define wxUSE_CHECKLISTBOX 0
400 # endif
401 #endif /* !defined(wxUSE_CHECKLISTBOX) */
402
403 #ifndef wxUSE_CHOICE
404 # ifdef wxABORT_ON_CONFIG_ERROR
405 # error "wxUSE_CHOICE must be defined."
406 # else
407 # define wxUSE_CHOICE 0
408 # endif
409 #endif /* !defined(wxUSE_CHOICE) */
410
411 #ifndef wxUSE_CHOICEBOOK
412 # ifdef wxABORT_ON_CONFIG_ERROR
413 # error "wxUSE_CHOICEBOOK must be defined."
414 # else
415 # define wxUSE_CHOICEBOOK 0
416 # endif
417 #endif /* !defined(wxUSE_CHOICEBOOK) */
418
419 #ifndef wxUSE_CHOICEDLG
420 # ifdef wxABORT_ON_CONFIG_ERROR
421 # error "wxUSE_CHOICEDLG must be defined."
422 # else
423 # define wxUSE_CHOICEDLG 0
424 # endif
425 #endif /* !defined(wxUSE_CHOICEDLG) */
426
427 #ifndef wxUSE_CLIPBOARD
428 # ifdef wxABORT_ON_CONFIG_ERROR
429 # error "wxUSE_CLIPBOARD must be defined."
430 # else
431 # define wxUSE_CLIPBOARD 0
432 # endif
433 #endif /* !defined(wxUSE_CLIPBOARD) */
434
435 #ifndef wxUSE_COLOURDLG
436 # ifdef wxABORT_ON_CONFIG_ERROR
437 # error "wxUSE_COLOURDLG must be defined."
438 # else
439 # define wxUSE_COLOURDLG 0
440 # endif
441 #endif /* !defined(wxUSE_COLOURDLG) */
442
443 #ifndef wxUSE_COLOURPICKERCTRL
444 # ifdef wxABORT_ON_CONFIG_ERROR
445 # error "wxUSE_COLOURPICKERCTRL must be defined."
446 # else
447 # define wxUSE_COLOURPICKERCTRL 0
448 # endif
449 #endif /* !defined(wxUSE_COLOURPICKERCTRL) */
450
451 #ifndef wxUSE_COMBOBOX
452 # ifdef wxABORT_ON_CONFIG_ERROR
453 # error "wxUSE_COMBOBOX must be defined."
454 # else
455 # define wxUSE_COMBOBOX 0
456 # endif
457 #endif /* !defined(wxUSE_COMBOBOX) */
458
459 #ifndef wxUSE_COMBOCTRL
460 # ifdef wxABORT_ON_CONFIG_ERROR
461 # error "wxUSE_COMBOCTRL must be defined."
462 # else
463 # define wxUSE_COMBOCTRL 0
464 # endif
465 #endif /* !defined(wxUSE_COMBOCTRL) */
466
467 #ifndef wxUSE_DATAOBJ
468 # ifdef wxABORT_ON_CONFIG_ERROR
469 # error "wxUSE_DATAOBJ must be defined."
470 # else
471 # define wxUSE_DATAOBJ 0
472 # endif
473 #endif /* !defined(wxUSE_DATAOBJ) */
474
475 #ifndef wxUSE_DATAVIEWCTRL
476 # ifdef wxABORT_ON_CONFIG_ERROR
477 # error "wxUSE_DATAVIEWCTRL must be defined."
478 # else
479 # define wxUSE_DATAVIEWCTRL 0
480 # endif
481 #endif /* !defined(wxUSE_DATAVIEWCTRL) */
482
483 #ifndef wxUSE_DATEPICKCTRL
484 # ifdef wxABORT_ON_CONFIG_ERROR
485 # error "wxUSE_DATEPICKCTRL must be defined."
486 # else
487 # define wxUSE_DATEPICKCTRL 0
488 # endif
489 #endif /* !defined(wxUSE_DATEPICKCTRL) */
490
491 #ifndef wxUSE_DIRPICKERCTRL
492 # ifdef wxABORT_ON_CONFIG_ERROR
493 # error "wxUSE_DIRPICKERCTRL must be defined."
494 # else
495 # define wxUSE_DIRPICKERCTRL 0
496 # endif
497 #endif /* !defined(wxUSE_DIRPICKERCTRL) */
498
499 #ifndef wxUSE_DISPLAY
500 # ifdef wxABORT_ON_CONFIG_ERROR
501 # error "wxUSE_DISPLAY must be defined."
502 # else
503 # define wxUSE_DISPLAY 0
504 # endif
505 #endif /* !defined(wxUSE_DISPLAY) */
506
507 #ifndef wxUSE_DOC_VIEW_ARCHITECTURE
508 # ifdef wxABORT_ON_CONFIG_ERROR
509 # error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
510 # else
511 # define wxUSE_DOC_VIEW_ARCHITECTURE 0
512 # endif
513 #endif /* !defined(wxUSE_DOC_VIEW_ARCHITECTURE) */
514
515 #ifndef wxUSE_FILEDLG
516 # ifdef wxABORT_ON_CONFIG_ERROR
517 # error "wxUSE_FILEDLG must be defined."
518 # else
519 # define wxUSE_FILEDLG 0
520 # endif
521 #endif /* !defined(wxUSE_FILEDLG) */
522
523 #ifndef wxUSE_FILEPICKERCTRL
524 # ifdef wxABORT_ON_CONFIG_ERROR
525 # error "wxUSE_FILEPICKERCTRL must be defined."
526 # else
527 # define wxUSE_FILEPICKERCTRL 0
528 # endif
529 #endif /* !defined(wxUSE_FILEPICKERCTRL) */
530
531 #ifndef wxUSE_FONTDLG
532 # ifdef wxABORT_ON_CONFIG_ERROR
533 # error "wxUSE_FONTDLG must be defined."
534 # else
535 # define wxUSE_FONTDLG 0
536 # endif
537 #endif /* !defined(wxUSE_FONTDLG) */
538
539 #ifndef wxUSE_FONTMAP
540 # ifdef wxABORT_ON_CONFIG_ERROR
541 # error "wxUSE_FONTMAP must be defined."
542 # else
543 # define wxUSE_FONTMAP 0
544 # endif
545 #endif /* !defined(wxUSE_FONTMAP) */
546
547 #ifndef wxUSE_FONTPICKERCTRL
548 # ifdef wxABORT_ON_CONFIG_ERROR
549 # error "wxUSE_FONTPICKERCTRL must be defined."
550 # else
551 # define wxUSE_FONTPICKERCTRL 0
552 # endif
553 #endif /* !defined(wxUSE_FONTPICKERCTRL) */
554
555 #ifndef wxUSE_GAUGE
556 # ifdef wxABORT_ON_CONFIG_ERROR
557 # error "wxUSE_GAUGE must be defined."
558 # else
559 # define wxUSE_GAUGE 0
560 # endif
561 #endif /* !defined(wxUSE_GAUGE) */
562
563 #ifndef wxUSE_GRAPHICS_CONTEXT
564 # ifdef wxABORT_ON_CONFIG_ERROR
565 # error "wxUSE_GRAPHICS_CONTEXT must be defined."
566 # else
567 # define wxUSE_GRAPHICS_CONTEXT 0
568 # endif
569 #endif /* !defined(wxUSE_GRAPHICS_CONTEXT) */
570
571
572 #ifndef wxUSE_GRID
573 # ifdef wxABORT_ON_CONFIG_ERROR
574 # error "wxUSE_GRID must be defined."
575 # else
576 # define wxUSE_GRID 0
577 # endif
578 #endif /* !defined(wxUSE_GRID) */
579
580 #ifndef wxUSE_HELP
581 # ifdef wxABORT_ON_CONFIG_ERROR
582 # error "wxUSE_HELP must be defined."
583 # else
584 # define wxUSE_HELP 0
585 # endif
586 #endif /* !defined(wxUSE_HELP) */
587
588 #ifndef wxUSE_HYPERLINKCTRL
589 # ifdef wxABORT_ON_CONFIG_ERROR
590 # error "wxUSE_HYPERLINKCTRL must be defined."
591 # else
592 # define wxUSE_HYPERLINKCTRL 0
593 # endif
594 #endif /* !defined(wxUSE_HYPERLINKCTRL) */
595
596 #ifndef wxUSE_HTML
597 # ifdef wxABORT_ON_CONFIG_ERROR
598 # error "wxUSE_HTML must be defined."
599 # else
600 # define wxUSE_HTML 0
601 # endif
602 #endif /* !defined(wxUSE_HTML) */
603
604 #ifndef wxUSE_LIBMSPACK
605 # ifndef __UNIX__
606 /* set to 0 on platforms that don't have libmspack */
607 # define wxUSE_LIBMSPACK 0
608 # else
609 # ifdef wxABORT_ON_CONFIG_ERROR
610 # error "wxUSE_LIBMSPACK must be defined."
611 # else
612 # define wxUSE_LIBMSPACK 0
613 # endif
614 # endif
615 #endif /* !defined(wxUSE_LIBMSPACK) */
616
617 #ifndef wxUSE_ICO_CUR
618 # ifdef wxABORT_ON_CONFIG_ERROR
619 # error "wxUSE_ICO_CUR must be defined."
620 # else
621 # define wxUSE_ICO_CUR 0
622 # endif
623 #endif /* !defined(wxUSE_ICO_CUR) */
624
625 #ifndef wxUSE_IFF
626 # ifdef wxABORT_ON_CONFIG_ERROR
627 # error "wxUSE_IFF must be defined."
628 # else
629 # define wxUSE_IFF 0
630 # endif
631 #endif /* !defined(wxUSE_IFF) */
632
633 #ifndef wxUSE_IMAGLIST
634 # ifdef wxABORT_ON_CONFIG_ERROR
635 # error "wxUSE_IMAGLIST must be defined."
636 # else
637 # define wxUSE_IMAGLIST 0
638 # endif
639 #endif /* !defined(wxUSE_IMAGLIST) */
640
641 #ifndef wxUSE_JOYSTICK
642 # ifdef wxABORT_ON_CONFIG_ERROR
643 # error "wxUSE_JOYSTICK must be defined."
644 # else
645 # define wxUSE_JOYSTICK 0
646 # endif
647 #endif /* !defined(wxUSE_JOYSTICK) */
648
649 #ifndef wxUSE_LISTBOOK
650 # ifdef wxABORT_ON_CONFIG_ERROR
651 # error "wxUSE_LISTBOOK must be defined."
652 # else
653 # define wxUSE_LISTBOOK 0
654 # endif
655 #endif /* !defined(wxUSE_LISTBOOK) */
656
657 #ifndef wxUSE_LISTBOX
658 # ifdef wxABORT_ON_CONFIG_ERROR
659 # error "wxUSE_LISTBOX must be defined."
660 # else
661 # define wxUSE_LISTBOX 0
662 # endif
663 #endif /* !defined(wxUSE_LISTBOX) */
664
665 #ifndef wxUSE_LISTCTRL
666 # ifdef wxABORT_ON_CONFIG_ERROR
667 # error "wxUSE_LISTCTRL must be defined."
668 # else
669 # define wxUSE_LISTCTRL 0
670 # endif
671 #endif /* !defined(wxUSE_LISTCTRL) */
672
673 #ifndef wxUSE_LOGGUI
674 # ifdef wxABORT_ON_CONFIG_ERROR
675 # error "wxUSE_LOGGUI must be defined."
676 # else
677 # define wxUSE_LOGGUI 0
678 # endif
679 #endif /* !defined(wxUSE_LOGGUI) */
680
681 #ifndef wxUSE_LOGWINDOW
682 # ifdef wxABORT_ON_CONFIG_ERROR
683 # error "wxUSE_LOGWINDOW must be defined."
684 # else
685 # define wxUSE_LOGWINDOW 0
686 # endif
687 #endif /* !defined(wxUSE_LOGWINDOW) */
688
689 #ifndef wxUSE_LOG_DIALOG
690 # ifdef wxABORT_ON_CONFIG_ERROR
691 # error "wxUSE_LOG_DIALOG must be defined."
692 # else
693 # define wxUSE_LOG_DIALOG 0
694 # endif
695 #endif /* !defined(wxUSE_LOG_DIALOG) */
696
697 #ifndef wxUSE_MDI
698 # ifdef wxABORT_ON_CONFIG_ERROR
699 # error "wxUSE_MDI must be defined."
700 # else
701 # define wxUSE_MDI 0
702 # endif
703 #endif /* !defined(wxUSE_MDI) */
704
705 #ifndef wxUSE_MDI_ARCHITECTURE
706 # ifdef wxABORT_ON_CONFIG_ERROR
707 # error "wxUSE_MDI_ARCHITECTURE must be defined."
708 # else
709 # define wxUSE_MDI_ARCHITECTURE 0
710 # endif
711 #endif /* !defined(wxUSE_MDI_ARCHITECTURE) */
712
713 #ifndef wxUSE_MENUS
714 # ifdef wxABORT_ON_CONFIG_ERROR
715 # error "wxUSE_MENUS must be defined."
716 # else
717 # define wxUSE_MENUS 0
718 # endif
719 #endif /* !defined(wxUSE_MENUS) */
720
721 #ifndef wxUSE_MSGDLG
722 # ifdef wxABORT_ON_CONFIG_ERROR
723 # error "wxUSE_MSGDLG must be defined."
724 # else
725 # define wxUSE_MSGDLG 0
726 # endif
727 #endif /* !defined(wxUSE_MSGDLG) */
728
729 #ifndef wxUSE_NOTEBOOK
730 # ifdef wxABORT_ON_CONFIG_ERROR
731 # error "wxUSE_NOTEBOOK must be defined."
732 # else
733 # define wxUSE_NOTEBOOK 0
734 # endif
735 #endif /* !defined(wxUSE_NOTEBOOK) */
736
737 #ifndef wxUSE_ODCOMBOBOX
738 # ifdef wxABORT_ON_CONFIG_ERROR
739 # error "wxUSE_ODCOMBOBOX must be defined."
740 # else
741 # define wxUSE_ODCOMBOBOX 0
742 # endif
743 #endif /* !defined(wxUSE_ODCOMBOBOX) */
744
745 #ifndef wxUSE_PALETTE
746 # ifdef wxABORT_ON_CONFIG_ERROR
747 # error "wxUSE_PALETTE must be defined."
748 # else
749 # define wxUSE_PALETTE 0
750 # endif
751 #endif /* !defined(wxUSE_PALETTE) */
752
753 #ifndef wxUSE_POPUPWIN
754 # ifdef wxABORT_ON_CONFIG_ERROR
755 # error "wxUSE_POPUPWIN must be defined."
756 # else
757 # define wxUSE_POPUPWIN 0
758 # endif
759 #endif /* !defined(wxUSE_POPUPWIN) */
760
761 #ifndef wxUSE_PRINTING_ARCHITECTURE
762 # ifdef wxABORT_ON_CONFIG_ERROR
763 # error "wxUSE_PRINTING_ARCHITECTURE must be defined."
764 # else
765 # define wxUSE_PRINTING_ARCHITECTURE 0
766 # endif
767 #endif /* !defined(wxUSE_PRINTING_ARCHITECTURE) */
768
769 #ifndef wxUSE_RADIOBOX
770 # ifdef wxABORT_ON_CONFIG_ERROR
771 # error "wxUSE_RADIOBOX must be defined."
772 # else
773 # define wxUSE_RADIOBOX 0
774 # endif
775 #endif /* !defined(wxUSE_RADIOBOX) */
776
777 #ifndef wxUSE_RADIOBTN
778 # ifdef wxABORT_ON_CONFIG_ERROR
779 # error "wxUSE_RADIOBTN must be defined."
780 # else
781 # define wxUSE_RADIOBTN 0
782 # endif
783 #endif /* !defined(wxUSE_RADIOBTN) */
784
785 #ifndef wxUSE_SASH
786 # ifdef wxABORT_ON_CONFIG_ERROR
787 # error "wxUSE_SASH must be defined."
788 # else
789 # define wxUSE_SASH 0
790 # endif
791 #endif /* !defined(wxUSE_SASH) */
792
793 #ifndef wxUSE_SCROLLBAR
794 # ifdef wxABORT_ON_CONFIG_ERROR
795 # error "wxUSE_SCROLLBAR must be defined."
796 # else
797 # define wxUSE_SCROLLBAR 0
798 # endif
799 #endif /* !defined(wxUSE_SCROLLBAR) */
800
801 #ifndef wxUSE_SLIDER
802 # ifdef wxABORT_ON_CONFIG_ERROR
803 # error "wxUSE_SLIDER must be defined."
804 # else
805 # define wxUSE_SLIDER 0
806 # endif
807 #endif /* !defined(wxUSE_SLIDER) */
808
809 #ifndef wxUSE_SOUND
810 # ifdef wxABORT_ON_CONFIG_ERROR
811 # error "wxUSE_SOUND must be defined."
812 # else
813 # define wxUSE_SOUND 0
814 # endif
815 #endif /* !defined(wxUSE_SOUND) */
816
817 #ifndef wxUSE_SPINBTN
818 # ifdef wxABORT_ON_CONFIG_ERROR
819 # error "wxUSE_SPINBTN must be defined."
820 # else
821 # define wxUSE_SPINBTN 0
822 # endif
823 #endif /* !defined(wxUSE_SPINBTN) */
824
825 #ifndef wxUSE_SPINCTRL
826 # ifdef wxABORT_ON_CONFIG_ERROR
827 # error "wxUSE_SPINCTRL must be defined."
828 # else
829 # define wxUSE_SPINCTRL 0
830 # endif
831 #endif /* !defined(wxUSE_SPINCTRL) */
832
833 #ifndef wxUSE_SPLASH
834 # ifdef wxABORT_ON_CONFIG_ERROR
835 # error "wxUSE_SPLASH must be defined."
836 # else
837 # define wxUSE_SPLASH 0
838 # endif
839 #endif /* !defined(wxUSE_SPLASH) */
840
841 #ifndef wxUSE_SPLITTER
842 # ifdef wxABORT_ON_CONFIG_ERROR
843 # error "wxUSE_SPLITTER must be defined."
844 # else
845 # define wxUSE_SPLITTER 0
846 # endif
847 #endif /* !defined(wxUSE_SPLITTER) */
848
849 #ifndef wxUSE_STATBMP
850 # ifdef wxABORT_ON_CONFIG_ERROR
851 # error "wxUSE_STATBMP must be defined."
852 # else
853 # define wxUSE_STATBMP 0
854 # endif
855 #endif /* !defined(wxUSE_STATBMP) */
856
857 #ifndef wxUSE_STATBOX
858 # ifdef wxABORT_ON_CONFIG_ERROR
859 # error "wxUSE_STATBOX must be defined."
860 # else
861 # define wxUSE_STATBOX 0
862 # endif
863 #endif /* !defined(wxUSE_STATBOX) */
864
865 #ifndef wxUSE_STATLINE
866 # ifdef wxABORT_ON_CONFIG_ERROR
867 # error "wxUSE_STATLINE must be defined."
868 # else
869 # define wxUSE_STATLINE 0
870 # endif
871 #endif /* !defined(wxUSE_STATLINE) */
872
873 #ifndef wxUSE_STATTEXT
874 # ifdef wxABORT_ON_CONFIG_ERROR
875 # error "wxUSE_STATTEXT must be defined."
876 # else
877 # define wxUSE_STATTEXT 0
878 # endif
879 #endif /* !defined(wxUSE_STATTEXT) */
880
881 #ifndef wxUSE_STATUSBAR
882 # ifdef wxABORT_ON_CONFIG_ERROR
883 # error "wxUSE_STATUSBAR must be defined."
884 # else
885 # define wxUSE_STATUSBAR 0
886 # endif
887 #endif /* !defined(wxUSE_STATUSBAR) */
888
889 #ifndef wxUSE_TAB_DIALOG
890 # ifdef wxABORT_ON_CONFIG_ERROR
891 # error "wxUSE_TAB_DIALOG must be defined."
892 # else
893 # define wxUSE_TAB_DIALOG 0
894 # endif
895 #endif /* !defined(wxUSE_TAB_DIALOG) */
896
897 #ifndef wxUSE_TEXTCTRL
898 # ifdef wxABORT_ON_CONFIG_ERROR
899 # error "wxUSE_TEXTCTRL must be defined."
900 # else
901 # define wxUSE_TEXTCTRL 0
902 # endif
903 #endif /* !defined(wxUSE_TEXTCTRL) */
904
905 #ifndef wxUSE_TIPWINDOW
906 # ifdef wxABORT_ON_CONFIG_ERROR
907 # error "wxUSE_TIPWINDOW must be defined."
908 # else
909 # define wxUSE_TIPWINDOW 0
910 # endif
911 #endif /* !defined(wxUSE_TIPWINDOW) */
912
913 #ifndef wxUSE_TOOLBAR
914 # ifdef wxABORT_ON_CONFIG_ERROR
915 # error "wxUSE_TOOLBAR must be defined."
916 # else
917 # define wxUSE_TOOLBAR 0
918 # endif
919 #endif /* !defined(wxUSE_TOOLBAR) */
920
921 #ifndef wxUSE_TOOLTIPS
922 # ifdef wxABORT_ON_CONFIG_ERROR
923 # error "wxUSE_TOOLTIPS must be defined."
924 # else
925 # define wxUSE_TOOLTIPS 0
926 # endif
927 #endif /* !defined(wxUSE_TOOLTIPS) */
928
929 #ifndef wxUSE_TREECTRL
930 # ifdef wxABORT_ON_CONFIG_ERROR
931 # error "wxUSE_TREECTRL must be defined."
932 # else
933 # define wxUSE_TREECTRL 0
934 # endif
935 #endif /* !defined(wxUSE_TREECTRL) */
936
937 #ifndef wxUSE_VALIDATORS
938 # ifdef wxABORT_ON_CONFIG_ERROR
939 # error "wxUSE_VALIDATORS must be defined."
940 # else
941 # define wxUSE_VALIDATORS 0
942 # endif
943 #endif /* !defined(wxUSE_VALIDATORS) */
944
945 #ifndef wxUSE_WXHTML_HELP
946 # ifdef wxABORT_ON_CONFIG_ERROR
947 # error "wxUSE_WXHTML_HELP must be defined."
948 # else
949 # define wxUSE_WXHTML_HELP 0
950 # endif
951 #endif /* !defined(wxUSE_WXHTML_HELP) */
952
953 #ifndef wxUSE_XRC
954 # ifdef wxABORT_ON_CONFIG_ERROR
955 # error "wxUSE_XRC must be defined."
956 # else
957 # define wxUSE_XRC 0
958 # endif
959 #endif /* !defined(wxUSE_XRC) */
960
961 #endif /* wxUSE_GUI */
962
963 /*
964 check consistency of the settings
965 */
966
967 #if WXWIN_COMPATIBILITY_2_4
968 # if !WXWIN_COMPATIBILITY_2_6
969 # ifdef wxABORT_ON_CONFIG_ERROR
970 # error "2.4.X compatibility requires 2.6.X compatibility"
971 # else
972 # undef WXWIN_COMPATIBILITY_2_6
973 # define WXWIN_COMPATIBILITY_2_6 1
974 # endif
975 # endif
976 #endif /* WXWIN_COMPATIBILITY_2_4 */
977
978 #if wxUSE_ARCHIVE_STREAMS
979 # if !wxUSE_DATETIME
980 # ifdef wxABORT_ON_CONFIG_ERROR
981 # error "wxArchive requires wxUSE_DATETIME"
982 # else
983 # undef wxUSE_ARCHIVE_STREAMS
984 # define wxUSE_ARCHIVE_STREAMS 0
985 # endif
986 # endif
987 #endif /* wxUSE_ARCHIVE_STREAMS */
988
989 #if wxUSE_CRASHREPORT && !wxUSE_ON_FATAL_EXCEPTION
990 # ifdef wxABORT_ON_CONFIG_ERROR
991 # error "wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION"
992 # else
993 # undef wxUSE_CRASHREPORT
994 # define wxUSE_CRASHREPORT 0
995 # endif
996 #endif /* wxUSE_CRASHREPORT */
997
998 #if wxUSE_PROTOCOL_FILE || wxUSE_PROTOCOL_FTP || wxUSE_PROTOCOL_HTTP
999 # if !wxUSE_PROTOCOL
1000 # ifdef wxABORT_ON_CONFIG_ERROR
1001 # error "wxUSE_PROTOCOL_XXX requires wxUSE_PROTOCOL"
1002 # else
1003 # undef wxUSE_PROTOCOL
1004 # define wxUSE_PROTOCOL 1
1005 # endif
1006 # endif
1007 #endif /* wxUSE_PROTOCOL_XXX */
1008
1009 #if wxUSE_URL
1010 # if !wxUSE_PROTOCOL
1011 # ifdef wxABORT_ON_CONFIG_ERROR
1012 # error "wxUSE_URL requires wxUSE_PROTOCOL"
1013 # else
1014 # undef wxUSE_PROTOCOL
1015 # define wxUSE_PROTOCOL 1
1016 # endif
1017 # endif
1018 #endif /* wxUSE_URL */
1019
1020 #if wxUSE_PROTOCOL
1021 # if !wxUSE_SOCKETS
1022 # if wxUSE_PROTOCOL_HTTP || wxUSE_PROTOCOL_FTP
1023 # ifdef wxABORT_ON_CONFIG_ERROR
1024 # error "wxUSE_PROTOCOL_FTP/HTTP requires wxUSE_SOCKETS"
1025 # else
1026 # undef wxUSE_SOCKETS
1027 # define wxUSE_SOCKETS 1
1028 # endif
1029 # endif
1030 # endif
1031
1032 # if !wxUSE_STREAMS
1033 # ifdef wxABORT_ON_CONFIG_ERROR
1034 # error "wxUSE_PROTOCOL requires wxUSE_STREAMS"
1035 # else
1036 # undef wxUSE_STREAMS
1037 # define wxUSE_STREAMS 1
1038 # endif
1039 # endif
1040 #endif /* wxUSE_PROTOCOL */
1041
1042 /* have to test for wxUSE_HTML before wxUSE_FILESYSTEM */
1043 #if wxUSE_HTML
1044 # if !wxUSE_FILESYSTEM
1045 # ifdef wxABORT_ON_CONFIG_ERROR
1046 # error "wxHTML requires wxFileSystem"
1047 # else
1048 # undef wxUSE_FILESYSTEM
1049 # define wxUSE_FILESYSTEM 1
1050 # endif
1051 # endif
1052 #endif /* wxUSE_HTML */
1053
1054 #if wxUSE_FS_ARCHIVE
1055 # if !wxUSE_FILESYSTEM
1056 # ifdef wxABORT_ON_CONFIG_ERROR
1057 # error "wxArchiveFSHandler requires wxFileSystem"
1058 # else
1059 # undef wxUSE_FILESYSTEM
1060 # define wxUSE_FILESYSTEM 1
1061 # endif
1062 # endif
1063 # if !wxUSE_ARCHIVE_STREAMS
1064 # ifdef wxABORT_ON_CONFIG_ERROR
1065 # error "wxArchiveFSHandler requires wxArchive"
1066 # else
1067 # undef wxUSE_ARCHIVE_STREAMS
1068 # define wxUSE_ARCHIVE_STREAMS 1
1069 # endif
1070 # endif
1071 #endif /* wxUSE_FS_ARCHIVE */
1072
1073 #if wxUSE_FILESYSTEM
1074 # if !wxUSE_STREAMS
1075 # ifdef wxABORT_ON_CONFIG_ERROR
1076 # error "wxUSE_FILESYSTEM requires wxUSE_STREAMS"
1077 # else
1078 # undef wxUSE_STREAMS
1079 # define wxUSE_STREAMS 1
1080 # endif
1081 # endif
1082 # if !wxUSE_FILE && !wxUSE_FFILE
1083 # ifdef wxABORT_ON_CONFIG_ERROR
1084 # error "wxUSE_FILESYSTEM requires either wxUSE_FILE or wxUSE_FFILE"
1085 # else
1086 # undef wxUSE_FILE
1087 # define wxUSE_FILE 1
1088 # undef wxUSE_FFILE
1089 # define wxUSE_FFILE 1
1090 # endif
1091 # endif
1092 #endif /* wxUSE_FILESYSTEM */
1093
1094 #if wxUSE_FS_INET
1095 # if !wxUSE_PROTOCOL
1096 # ifdef wxABORT_ON_CONFIG_ERROR
1097 # error "wxUSE_FS_INET requires wxUSE_PROTOCOL"
1098 # else
1099 # undef wxUSE_PROTOCOL
1100 # define wxUSE_PROTOCOL 1
1101 # endif
1102 # endif
1103 #endif /* wxUSE_FS_INET */
1104
1105 #if wxUSE_STOPWATCH || wxUSE_DATETIME
1106 # if !wxUSE_LONGLONG
1107 # ifdef wxABORT_ON_CONFIG_ERROR
1108 # error "wxUSE_STOPWATCH and wxUSE_DATETIME require wxUSE_LONGLONG"
1109 # else
1110 # undef wxUSE_LONGLONG
1111 # define wxUSE_LONGLONG 1
1112 # endif
1113 # endif
1114 #endif /* wxUSE_STOPWATCH */
1115
1116 #if wxUSE_MIMETYPE && !wxUSE_TEXTFILE
1117 # ifdef wxABORT_ON_CONFIG_ERROR
1118 # error "wxUSE_MIMETYPE requires wxUSE_TEXTFILE"
1119 # else
1120 # undef wxUSE_TEXTFILE
1121 # define wxUSE_TEXTFILE 1
1122 # endif
1123 #endif /* wxUSE_MIMETYPE */
1124
1125 #if wxUSE_ODBC
1126 # if !wxUSE_DATETIME
1127 # ifdef wxABORT_ON_CONFIG_ERROR
1128 # error "wxODBC requires wxUSE_DATETIME"
1129 # else
1130 # undef wxUSE_ODBC
1131 # define wxUSE_ODBC 0
1132 # endif
1133 # endif
1134 #endif /* wxUSE_ODBC */
1135
1136 #if wxUSE_TEXTFILE && !wxUSE_TEXTBUFFER
1137 # ifdef wxABORT_ON_CONFIG_ERROR
1138 # error "wxUSE_TEXTFILE requires wxUSE_TEXTBUFFER"
1139 # else
1140 # undef wxUSE_TEXTBUFFER
1141 # define wxUSE_TEXTBUFFER 1
1142 # endif
1143 #endif /* wxUSE_TEXTFILE */
1144
1145 #if wxUSE_TEXTFILE && !wxUSE_FILE
1146 # ifdef wxABORT_ON_CONFIG_ERROR
1147 # error "wxUSE_TEXTFILE requires wxUSE_FILE"
1148 # else
1149 # undef wxUSE_FILE
1150 # define wxUSE_FILE 1
1151 # endif
1152 #endif /* wxUSE_TEXTFILE */
1153
1154 #if wxUSE_XML && !wxUSE_WCHAR_T
1155 # ifdef wxABORT_ON_CONFIG_ERROR
1156 # error "wxUSE_XML requires wxUSE_WCHAR_T"
1157 # else
1158 # undef wxUSE_XML
1159 # define wxUSE_XML 0
1160 # endif
1161 #endif /* wxUSE_XML */
1162
1163 #if !wxUSE_DYNLIB_CLASS
1164 # if wxUSE_DYNAMIC_LOADER
1165 # ifdef wxABORT_ON_CONFIG_ERROR
1166 # error "wxUSE_DYNAMIC_LOADER requires wxUSE_DYNLIB_CLASS."
1167 # else
1168 # define wxUSE_DYNLIB_CLASS 1
1169 # endif
1170 # endif
1171 #endif /* wxUSE_DYNLIB_CLASS */
1172
1173 #if wxUSE_ZIPSTREAM
1174 # if !wxUSE_ZLIB
1175 # ifdef wxABORT_ON_CONFIG_ERROR
1176 # error "wxZip requires wxZlib"
1177 # else
1178 # undef wxUSE_ZLIB
1179 # define wxUSE_ZLIB 1
1180 # endif
1181 # endif
1182 # if !wxUSE_ARCHIVE_STREAMS
1183 # ifdef wxABORT_ON_CONFIG_ERROR
1184 # error "wxZip requires wxArchive"
1185 # else
1186 # undef wxUSE_ARCHIVE_STREAMS
1187 # define wxUSE_ARCHIVE_STREAMS 1
1188 # endif
1189 # endif
1190 #endif /* wxUSE_ZIPSTREAM */
1191
1192 #if wxUSE_TARSTREAM
1193 # if !wxUSE_ARCHIVE_STREAMS
1194 # ifdef wxABORT_ON_CONFIG_ERROR
1195 # error "wxTar requires wxArchive"
1196 # else
1197 # undef wxUSE_ARCHIVE_STREAMS
1198 # define wxUSE_ARCHIVE_STREAMS 1
1199 # endif
1200 # endif
1201 #endif /* wxUSE_TARSTREAM */
1202
1203 /* the rest of the tests is for the GUI settings only */
1204 #if wxUSE_GUI
1205
1206 #if wxUSE_BUTTON || \
1207 wxUSE_CALENDARCTRL || \
1208 wxUSE_CARET || \
1209 wxUSE_COMBOBOX || \
1210 wxUSE_BMPBUTTON || \
1211 wxUSE_CHECKBOX || \
1212 wxUSE_CHECKLISTBOX || \
1213 wxUSE_CHOICE || \
1214 wxUSE_GAUGE || \
1215 wxUSE_GRID || \
1216 wxUSE_LISTBOX || \
1217 wxUSE_LISTCTRL || \
1218 wxUSE_NOTEBOOK || \
1219 wxUSE_RADIOBOX || \
1220 wxUSE_RADIOBTN || \
1221 wxUSE_SCROLLBAR || \
1222 wxUSE_SLIDER || \
1223 wxUSE_SPINBTN || \
1224 wxUSE_SPINCTRL || \
1225 wxUSE_STATBMP || \
1226 wxUSE_STATBOX || \
1227 wxUSE_STATLINE || \
1228 wxUSE_STATTEXT || \
1229 wxUSE_STATUSBAR || \
1230 wxUSE_TEXTCTRL || \
1231 wxUSE_TOOLBAR || \
1232 wxUSE_TREECTRL
1233 # if !wxUSE_CONTROLS
1234 # ifdef wxABORT_ON_CONFIG_ERROR
1235 # error "wxUSE_CONTROLS unset but some controls used"
1236 # else
1237 # undef wxUSE_CONTROLS
1238 # define wxUSE_CONTROLS 1
1239 # endif
1240 # endif
1241 #endif /* controls */
1242
1243 #if wxUSE_BMPBUTTON
1244 # if !wxUSE_BUTTON
1245 # ifdef wxABORT_ON_CONFIG_ERROR
1246 # error "wxUSE_BMPBUTTON requires wxUSE_BUTTON"
1247 # else
1248 # undef wxUSE_BUTTON
1249 # define wxUSE_BUTTON 1
1250 # endif
1251 # endif
1252 #endif /* wxUSE_BMPBUTTON */
1253
1254 /*
1255 wxUSE_BOOKCTRL should be only used if any of the controls deriving from it
1256 are used
1257 */
1258 #ifdef wxUSE_BOOKCTRL
1259 # ifdef wxABORT_ON_CONFIG_ERROR
1260 # error "wxUSE_BOOKCTRL is defined automatically, don't define it"
1261 # else
1262 # undef wxUSE_BOOKCTRL
1263 # endif
1264 #endif
1265
1266 #define wxUSE_BOOKCTRL (wxUSE_NOTEBOOK || \
1267 wxUSE_LISTBOOK || \
1268 wxUSE_CHOICEBOOK || \
1269 wxUSE_TREEBOOK)
1270
1271 #if wxUSE_LISTBOOK
1272 # if !wxUSE_LISTCTRL
1273 # ifdef wxABORT_ON_CONFIG_ERROR
1274 # error "wxListbook requires wxListCtrl"
1275 # else
1276 # undef wxUSE_LISTCTRL
1277 # define wxUSE_LISTCTRL 1
1278 # endif
1279 # endif
1280 #endif /* wxUSE_LISTBOOK */
1281
1282 #if wxUSE_CHOICEBOOK
1283 # if !wxUSE_CHOICE
1284 # ifdef wxABORT_ON_CONFIG_ERROR
1285 # error "wxChoicebook requires wxChoice"
1286 # else
1287 # undef wxUSE_CHOICE
1288 # define wxUSE_CHOICE 1
1289 # endif
1290 # endif
1291 #endif /* wxUSE_CHOICEBOOK */
1292
1293 #if !wxUSE_ODCOMBOBOX
1294 # if wxUSE_BITMAPCOMBOBOX
1295 # error "wxBitmapComboBox requires wxOwnerDrawnComboBox"
1296 # else
1297 # undef wxUSE_BITMAPCOMBOBOX
1298 # define wxUSE_BITMAPCOMBOBOX 0
1299 # endif
1300 #endif /* !wxUSE_ODCOMBOBOX */
1301
1302 /* don't attempt to use native status bar on the platforms not having it */
1303 #ifndef wxUSE_NATIVE_STATUSBAR
1304 # define wxUSE_NATIVE_STATUSBAR 0
1305 #elif wxUSE_NATIVE_STATUSBAR
1306 # if defined(__WXUNIVERSAL__) || !( defined(__WXMSW__) || \
1307 defined(__WXMAC__) || \
1308 defined(__WXPALMOS__) )
1309 # undef wxUSE_NATIVE_STATUSBAR
1310 # define wxUSE_NATIVE_STATUSBAR 0
1311 # endif
1312 #endif
1313
1314 #if wxUSE_GRAPHICS_CONTEXT && !wxUSE_GEOMETRY
1315 # ifdef wxABORT_ON_CONFIG_ERROR
1316 # error "wxUSE_GRAPHICS_CONTEXT requires wxUSE_GEOMETRY"
1317 # else
1318 # undef wxUSE_GRAPHICS_CONTEXT
1319 # define wxUSE_GRAPHICS_CONTEXT 0
1320 # endif
1321 #endif /* wxUSE_GRAPHICS_CONTEXT */
1322
1323
1324 /* wxGTK-specific dependencies */
1325 #ifdef __WXGTK__
1326 # ifndef __WXUNIVERSAL__
1327 # if wxUSE_MDI_ARCHITECTURE && !wxUSE_MENUS
1328 # ifdef wxABORT_ON_CONFIG_ERROR
1329 # error "MDI requires wxUSE_MENUS in wxGTK"
1330 # else
1331 # undef wxUSE_MENUS
1332 # define wxUSE_MENUS 1
1333 # endif
1334 # endif
1335 # endif /* !__WXUNIVERSAL__ */
1336
1337 # if wxUSE_JOYSTICK
1338 # if !wxUSE_THREADS
1339 # ifdef wxABORT_ON_CONFIG_ERROR
1340 # error "wxJoystick requires threads in wxGTK"
1341 # else
1342 # undef wxUSE_JOYSTICK
1343 # define wxUSE_JOYSTICK 0
1344 # endif
1345 # endif
1346 # endif
1347 #endif /* wxGTK && !wxUniv */
1348
1349 /* Hopefully we can emulate these dialogs in due course */
1350 #if defined(__SMARTPHONE__) && defined(__WXWINCE__)
1351 # ifdef wxUSE_COLOURDLG
1352 # undef wxUSE_COLOURDLG
1353 # define wxUSE_COLOURDLG 0
1354 # endif
1355 #endif /* __SMARTPHONE__ && __WXWINCE__ */
1356
1357
1358 /* generic controls dependencies */
1359 #if !defined(__WXMSW__) || defined(__WXUNIVERSAL__)
1360 # if wxUSE_FONTDLG || wxUSE_FILEDLG || wxUSE_CHOICEDLG
1361 /* all common controls are needed by these dialogs */
1362 # if !defined(wxUSE_CHOICE) || \
1363 !defined(wxUSE_TEXTCTRL) || \
1364 !defined(wxUSE_BUTTON) || \
1365 !defined(wxUSE_CHECKBOX) || \
1366 !defined(wxUSE_STATTEXT)
1367 # ifdef wxABORT_ON_CONFIG_ERROR
1368 # error "These common controls are needed by common dialogs"
1369 # else
1370 # undef wxUSE_CHOICE
1371 # define wxUSE_CHOICE 1
1372 # undef wxUSE_TEXTCTRL
1373 # define wxUSE_TEXTCTRL 1
1374 # undef wxUSE_BUTTON
1375 # define wxUSE_BUTTON 1
1376 # undef wxUSE_CHECKBOX
1377 # define wxUSE_CHECKBOX 1
1378 # undef wxUSE_STATTEXT
1379 # define wxUSE_STATTEXT 1
1380 # endif
1381 # endif
1382 # endif
1383 #endif /* !wxMSW || wxUniv */
1384
1385 /* common dependencies */
1386 #if wxUSE_CALENDARCTRL
1387 # if !(wxUSE_SPINBTN && wxUSE_COMBOBOX)
1388 # ifdef wxABORT_ON_CONFIG_ERROR
1389 # error "wxCalendarCtrl requires wxSpinButton and wxComboBox"
1390 # else
1391 # undef wxUSE_SPINBTN
1392 # undef wxUSE_COMBOBOX
1393 # define wxUSE_SPINBTN 1
1394 # define wxUSE_COMBOBOX 1
1395 # endif
1396 # endif
1397
1398 # if !wxUSE_DATETIME
1399 # ifdef wxABORT_ON_CONFIG_ERROR
1400 # error "wxCalendarCtrl requires wxUSE_DATETIME"
1401 # else
1402 # undef wxUSE_DATETIME
1403 # define wxUSE_DATETIME 1
1404 # endif
1405 # endif
1406 #endif /* wxUSE_CALENDARCTRL */
1407
1408 #if wxUSE_DATEPICKCTRL
1409 # if !wxUSE_DATETIME
1410 # ifdef wxABORT_ON_CONFIG_ERROR
1411 # error "wxDatePickerCtrl requires wxUSE_DATETIME"
1412 # else
1413 # undef wxUSE_DATETIME
1414 # define wxUSE_DATETIME 1
1415 # endif
1416 # endif
1417 #endif /* wxUSE_DATEPICKCTRL */
1418
1419 #if wxUSE_CHECKLISTBOX
1420 # if !wxUSE_LISTBOX
1421 # ifdef wxABORT_ON_CONFIG_ERROR
1422 # error "wxCheckListBox requires wxListBox"
1423 # else
1424 # undef wxUSE_LISTBOX
1425 # define wxUSE_LISTBOX 1
1426 # endif
1427 # endif
1428 #endif /* wxUSE_CHECKLISTBOX */
1429
1430 #if wxUSE_CHOICEDLG
1431 # if !wxUSE_LISTBOX
1432 # ifdef wxABORT_ON_CONFIG_ERROR
1433 # error "Choice dialogs requires wxListBox"
1434 # else
1435 # undef wxUSE_LISTBOX
1436 # define wxUSE_LISTBOX 1
1437 # endif
1438 # endif
1439 #endif /* wxUSE_CHOICEDLG */
1440
1441 #if wxUSE_HELP
1442 # if !wxUSE_BMPBUTTON
1443 # ifdef wxABORT_ON_CONFIG_ERROR
1444 # error "wxUSE_HELP requires wxUSE_BMPBUTTON"
1445 # else
1446 # undef wxUSE_BMPBUTTON
1447 # define wxUSE_BMPBUTTON 1
1448 # endif
1449 # endif
1450
1451 # if !wxUSE_CHOICEDLG
1452 # ifdef wxABORT_ON_CONFIG_ERROR
1453 # error "wxUSE_HELP requires wxUSE_CHOICEDLG"
1454 # else
1455 # undef wxUSE_CHOICEDLG
1456 # define wxUSE_CHOICEDLG 1
1457 # endif
1458 # endif
1459 #endif /* wxUSE_HELP */
1460
1461 #if wxUSE_WXHTML_HELP
1462 # if !wxUSE_HELP || !wxUSE_HTML || !wxUSE_COMBOBOX || !wxUSE_NOTEBOOK || !wxUSE_SPINCTRL
1463 # ifdef wxABORT_ON_CONFIG_ERROR
1464 # error "Built in help controller can't be compiled"
1465 # else
1466 # undef wxUSE_HELP
1467 # define wxUSE_HELP 1
1468 # undef wxUSE_HTML
1469 # define wxUSE_HTML 1
1470 # undef wxUSE_COMBOBOX
1471 # define wxUSE_COMBOBOX 1
1472 # undef wxUSE_NOTEBOOK
1473 # define wxUSE_NOTEBOOK 1
1474 # undef wxUSE_SPINCTRL
1475 # define wxUSE_SPINCTRL 1
1476 # endif
1477 # endif
1478 #endif /* wxUSE_WXHTML_HELP */
1479
1480 #if !wxUSE_IMAGE
1481 /*
1482 The default wxUSE_IMAGE setting is 1, so if it's set to 0 we assume the
1483 user explicitly wants this and disable all other features that require
1484 wxUSE_IMAGE.
1485 */
1486 # if wxUSE_DRAGIMAGE
1487 # ifdef wxABORT_ON_CONFIG_ERROR
1488 # error "wxUSE_DRAGIMAGE requires wxUSE_IMAGE"
1489 # else
1490 # undef wxUSE_DRAGIMAGE
1491 # define wxUSE_DRAGIMAGE 0
1492 # endif
1493 # endif
1494
1495 # if wxUSE_LIBPNG
1496 # ifdef wxABORT_ON_CONFIG_ERROR
1497 # error "wxUSE_LIBPNG requires wxUSE_IMAGE"
1498 # else
1499 # undef wxUSE_LIBPNG
1500 # define wxUSE_LIBPNG 0
1501 # endif
1502 # endif
1503
1504 # if wxUSE_LIBJPEG
1505 # ifdef wxABORT_ON_CONFIG_ERROR
1506 # error "wxUSE_LIBJPEG requires wxUSE_IMAGE"
1507 # else
1508 # undef wxUSE_LIBJPEG
1509 # define wxUSE_LIBJPEG 0
1510 # endif
1511 # endif
1512
1513 # if wxUSE_LIBTIFF
1514 # ifdef wxABORT_ON_CONFIG_ERROR
1515 # error "wxUSE_LIBTIFF requires wxUSE_IMAGE"
1516 # else
1517 # undef wxUSE_LIBTIFF
1518 # define wxUSE_LIBTIFF 0
1519 # endif
1520 # endif
1521
1522 # if wxUSE_GIF
1523 # ifdef wxABORT_ON_CONFIG_ERROR
1524 # error "wxUSE_GIF requires wxUSE_IMAGE"
1525 # else
1526 # undef wxUSE_GIF
1527 # define wxUSE_GIF 0
1528 # endif
1529 # endif
1530
1531 # if wxUSE_PNM
1532 # ifdef wxABORT_ON_CONFIG_ERROR
1533 # error "wxUSE_PNM requires wxUSE_IMAGE"
1534 # else
1535 # undef wxUSE_PNM
1536 # define wxUSE_PNM 0
1537 # endif
1538 # endif
1539
1540 # if wxUSE_PCX
1541 # ifdef wxABORT_ON_CONFIG_ERROR
1542 # error "wxUSE_PCX requires wxUSE_IMAGE"
1543 # else
1544 # undef wxUSE_PCX
1545 # define wxUSE_PCX 0
1546 # endif
1547 # endif
1548
1549 # if wxUSE_IFF
1550 # ifdef wxABORT_ON_CONFIG_ERROR
1551 # error "wxUSE_IFF requires wxUSE_IMAGE"
1552 # else
1553 # undef wxUSE_IFF
1554 # define wxUSE_IFF 0
1555 # endif
1556 # endif
1557
1558 # if wxUSE_TOOLBAR
1559 # ifdef wxABORT_ON_CONFIG_ERROR
1560 # error "wxUSE_TOOLBAR requires wxUSE_IMAGE"
1561 # else
1562 # undef wxUSE_TOOLBAR
1563 # define wxUSE_TOOLBAR 0
1564 # endif
1565 # endif
1566
1567 # if wxUSE_XPM
1568 # ifdef wxABORT_ON_CONFIG_ERROR
1569 # error "wxUSE_XPM requires wxUSE_IMAGE"
1570 # else
1571 # undef wxUSE_XPM
1572 # define wxUSE_XPM 0
1573 # endif
1574 # endif
1575
1576 #endif /* !wxUSE_IMAGE */
1577
1578 #if wxUSE_DOC_VIEW_ARCHITECTURE
1579 # if !wxUSE_MENUS
1580 # ifdef wxABORT_ON_CONFIG_ERROR
1581 # error "DocView requires wxUSE_MENUS"
1582 # else
1583 # undef wxUSE_MENUS
1584 # define wxUSE_MENUS 1
1585 # endif
1586 # endif
1587
1588 # if !wxUSE_CHOICEDLG
1589 # ifdef wxABORT_ON_CONFIG_ERROR
1590 # error "DocView requires wxUSE_CHOICEDLG"
1591 # else
1592 # undef wxUSE_CHOICEDLG
1593 # define wxUSE_CHOICEDLG 1
1594 # endif
1595 # endif
1596
1597 # if !wxUSE_STREAMS && !wxUSE_STD_IOSTREAM
1598 # ifdef wxABORT_ON_CONFIG_ERROR
1599 # error "DocView requires wxUSE_STREAMS or wxUSE_STD_IOSTREAM"
1600 # else
1601 # undef wxUSE_STREAMS
1602 # define wxUSE_STREAMS 1
1603 # endif
1604 # endif
1605 #endif /* wxUSE_DOC_VIEW_ARCHITECTURE */
1606
1607 #if wxUSE_PRINTING_ARCHITECTURE
1608 # if !wxUSE_COMBOBOX
1609 # ifdef wxABORT_ON_CONFIG_ERROR
1610 # error "Print dialog requires wxUSE_COMBOBOX"
1611 # else
1612 # undef wxUSE_COMBOBOX
1613 # define wxUSE_COMBOBOX 1
1614 # endif
1615 # endif
1616 #endif /* wxUSE_PRINTING_ARCHITECTURE */
1617
1618 #if wxUSE_MDI_ARCHITECTURE
1619 # if !wxUSE_MDI
1620 # ifdef wxABORT_ON_CONFIG_ERROR
1621 # error "MDI requires wxUSE_MDI"
1622 # else
1623 # undef wxUSE_MDI
1624 # define wxUSE_MDI 1
1625 # endif
1626 # endif
1627
1628 # if !wxUSE_DOC_VIEW_ARCHITECTURE
1629 # ifdef wxABORT_ON_CONFIG_ERROR
1630 # error "wxUSE_MDI_ARCHITECTURE requires wxUSE_DOC_VIEW_ARCHITECTURE"
1631 # else
1632 # undef wxUSE_DOC_VIEW_ARCHITECTURE
1633 # define wxUSE_DOC_VIEW_ARCHITECTURE 1
1634 # endif
1635 # endif
1636 #endif /* wxUSE_MDI_ARCHITECTURE */
1637
1638 #if !wxUSE_FILEDLG
1639 # if wxUSE_DOC_VIEW_ARCHITECTURE || wxUSE_WXHTML_HELP
1640 # ifdef wxABORT_ON_CONFIG_ERROR
1641 # error "wxUSE_FILEDLG is required by wxUSE_DOC_VIEW_ARCHITECTURE and wxUSE_WXHTML_HELP!"
1642 # else
1643 # undef wxUSE_FILEDLG
1644 # define wxUSE_FILEDLG 1
1645 # endif
1646 # endif
1647 #endif /* wxUSE_FILEDLG */
1648
1649 #if !wxUSE_GAUGE || !wxUSE_BUTTON
1650 # if wxUSE_PROGRESSDLG && !defined(__WXPALMOS__)
1651 # ifdef wxABORT_ON_CONFIG_ERROR
1652 # error "Generic progress dialog requires wxUSE_GAUGE and wxUSE_BUTTON"
1653 # else
1654 # undef wxUSE_GAUGE
1655 # undef wxUSE_BUTTON
1656 # define wxUSE_GAUGE 1
1657 # define wxUSE_BUTTON 1
1658 # endif
1659 # endif
1660 #endif /* !wxUSE_GAUGE */
1661
1662 #if !wxUSE_BUTTON
1663 # if wxUSE_FONTDLG || \
1664 wxUSE_FILEDLG || \
1665 wxUSE_CHOICEDLG || \
1666 wxUSE_NUMBERDLG || \
1667 wxUSE_TEXTDLG || \
1668 wxUSE_DIRDLG || \
1669 wxUSE_STARTUP_TIPS || \
1670 wxUSE_WIZARDDLG
1671 # ifdef wxABORT_ON_CONFIG_ERROR
1672 # error "Common and generic dialogs require wxUSE_BUTTON"
1673 # else
1674 # undef wxUSE_BUTTON
1675 # define wxUSE_BUTTON 1
1676 # endif
1677 # endif
1678 #endif /* !wxUSE_BUTTON */
1679
1680 #if !wxUSE_TOOLBAR
1681 # if wxUSE_TOOLBAR_NATIVE
1682 # ifdef wxABORT_ON_CONFIG_ERROR
1683 # error "wxUSE_TOOLBAR is set to 0 but wxUSE_TOOLBAR_NATIVE is set to 1"
1684 # else
1685 # undef wxUSE_TOOLBAR_NATIVE
1686 # define wxUSE_TOOLBAR_NATIVE 0
1687 # endif
1688 # endif
1689 #endif
1690
1691 #if !wxUSE_IMAGLIST
1692 # if wxUSE_TREECTRL || wxUSE_NOTEBOOK || wxUSE_LISTCTRL
1693 # ifdef wxABORT_ON_CONFIG_ERROR
1694 # error "wxImageList must be compiled as well"
1695 # else
1696 # undef wxUSE_IMAGLIST
1697 # define wxUSE_IMAGLIST 1
1698 # endif
1699 # endif
1700 #endif /* !wxUSE_IMAGLIST */
1701
1702 #if !wxUSE_MSGDLG
1703 # ifdef wxABORT_ON_CONFIG_ERROR
1704 /* FIXME: should compile without it, of course, but doesn't */
1705 # error "wxMessageBox is always needed"
1706 # else
1707 # undef wxUSE_MSGDLG
1708 # define wxUSE_MSGDLG 1
1709 # endif
1710 #endif
1711
1712 #if wxUSE_RADIOBOX
1713 # if !wxUSE_RADIOBTN
1714 # ifdef wxABORT_ON_CONFIG_ERROR
1715 # error "wxUSE_RADIOBOX requires wxUSE_RADIOBTN"
1716 # else
1717 # undef wxUSE_RADIOBTN
1718 # define wxUSE_RADIOBTN 1
1719 # endif
1720 # endif
1721 # if !wxUSE_STATBOX && !defined(__WXPALMOS__)
1722 # ifdef wxABORT_ON_CONFIG_ERROR
1723 # error "wxUSE_RADIOBOX requires wxUSE_STATBOX"
1724 # else
1725 # undef wxUSE_STATBOX
1726 # define wxUSE_STATBOX 1
1727 # endif
1728 # endif
1729 #endif /* wxUSE_RADIOBOX */
1730
1731 #if wxUSE_LOGWINDOW
1732 # if !wxUSE_TEXTCTRL
1733 # ifdef wxABORT_ON_CONFIG_ERROR
1734 # error "wxUSE_LOGWINDOW requires wxUSE_TEXTCTRL"
1735 # else
1736 # undef wxUSE_TEXTCTRL
1737 # define wxUSE_TEXTCTRL 1
1738 # endif
1739 # endif
1740 #endif /* wxUSE_LOGWINDOW */
1741
1742 #if wxUSE_LOG_DIALOG
1743 # if !wxUSE_LISTCTRL || !wxUSE_BUTTON
1744 # ifdef wxABORT_ON_CONFIG_ERROR
1745 # error "wxUSE_LOG_DIALOG requires wxUSE_LISTCTRL and wxUSE_BUTTON"
1746 # else
1747 # undef wxUSE_LISTCTRL
1748 # define wxUSE_LISTCTRL 1
1749 # undef wxUSE_BUTTON
1750 # define wxUSE_BUTTON 1
1751 # endif
1752 # endif
1753 #endif /* wxUSE_LOG_DIALOG */
1754
1755 #if wxUSE_CLIPBOARD && !wxUSE_DATAOBJ
1756 # ifdef wxABORT_ON_CONFIG_ERROR
1757 # error "wxClipboard requires wxDataObject"
1758 # else
1759 # undef wxUSE_DATAOBJ
1760 # define wxUSE_DATAOBJ 1
1761 # endif
1762 #endif /* wxUSE_CLIPBOARD */
1763
1764 #if wxUSE_WX_RESOURCES && !wxUSE_PROLOGIO
1765 # ifdef wxABORT_ON_CONFIG_ERROR
1766 # error "wxr resources require PrologIO"
1767 # else
1768 # undef wxUSE_PROLOGIO
1769 # define wxUSE_PROLOGIO 1
1770 # endif
1771 #endif /* wxUSE_WX_RESOURCES */
1772
1773 #if wxUSE_XRC && !wxUSE_XML
1774 # ifdef wxABORT_ON_CONFIG_ERROR
1775 # error "wxUSE_XRC requires wxUSE_XML"
1776 # else
1777 # undef wxUSE_XRC
1778 # define wxUSE_XRC 0
1779 # endif
1780 #endif /* wxUSE_XRC */
1781
1782 #if wxUSE_SOCKETS && !wxUSE_STOPWATCH
1783 # ifdef wxABORT_ON_CONFIG_ERROR
1784 # error "wxUSE_SOCKETS requires wxUSE_STOPWATCH"
1785 # else
1786 # undef wxUSE_SOCKETS
1787 # define wxUSE_SOCKETS 0
1788 # endif
1789 #endif /* wxUSE_SOCKETS */
1790
1791 #if !wxUSE_VARIANT
1792 # if wxUSE_DATAVIEWCTRL
1793 # ifdef wxABORT_ON_CONFIG_ERROR
1794 # error "wxDataViewCtrl requires wxVariant"
1795 # else
1796 # undef wxUSE_DATAVIEWCTRL
1797 # define wxUSE_DATAVIEWCTRL 0
1798 # endif
1799 # endif
1800
1801 # if wxUSE_ODBC
1802 # ifdef wxABORT_ON_CONFIG_ERROR
1803 # error "wxUSE_ODBC requires wxVariant"
1804 # else
1805 # undef wxUSE_ODBC
1806 # define wxUSE_ODBC 0
1807 # endif
1808 # endif
1809 #endif /* wxUSE_VARIANT */
1810
1811 #endif /* wxUSE_GUI */