]>
Commit | Line | Data |
---|---|---|
1 | /* This define (__WX_SETUP_H__) is used both to ensure setup.h is included | |
2 | * only once and to indicate that we are building using configure. */ | |
3 | #ifndef __WX_SETUP_H__ | |
4 | #define __WX_SETUP_H__ | |
5 | ||
6 | #ifdef __GNUG__ | |
7 | #pragma interface | |
8 | #endif | |
9 | ||
10 | /* never undefine inline or const keywords for C++ compilation */ | |
11 | #ifndef __cplusplus | |
12 | ||
13 | /* Define to empty if the keyword does not work. */ | |
14 | #undef const | |
15 | ||
16 | /* Define as __inline if that's what the C compiler calls it. */ | |
17 | #undef inline | |
18 | ||
19 | #endif /* __cplusplus */ | |
20 | ||
21 | /* fill in with the string wxGetOsDescription() will return */ | |
22 | #undef WXWIN_OS_DESCRIPTION | |
23 | ||
24 | /* the installation location prefix from configure */ | |
25 | #undef wxINSTALL_PREFIX | |
26 | ||
27 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
28 | #undef gid_t | |
29 | ||
30 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
31 | #undef mode_t | |
32 | ||
33 | /* Define to `long' if <sys/types.h> doesn't define. */ | |
34 | #undef off_t | |
35 | ||
36 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
37 | #undef pid_t | |
38 | ||
39 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
40 | #undef size_t | |
41 | ||
42 | /* Define if you have the ANSI C header files. */ | |
43 | #undef STDC_HEADERS | |
44 | ||
45 | /* Define this to get extra features from GNU libc. */ | |
46 | #undef _GNU_SOURCE | |
47 | ||
48 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
49 | #undef uid_t | |
50 | ||
51 | /* Define if your processor stores words with the most significant | |
52 | byte first (like Motorola and SPARC, unlike Intel and VAX). */ | |
53 | #undef WORDS_BIGENDIAN | |
54 | ||
55 | /* Define this if your version of GTK+ is greater than 1.2 */ | |
56 | #undef __WXGTK12__ | |
57 | ||
58 | /* Define this if your version of GTK+ is greater than 1.2.7 */ | |
59 | #undef __WXGTK127__ | |
60 | ||
61 | /* Define this if your version of GTK+ is greater than 1.3 */ | |
62 | #undef __WXGTK20__ | |
63 | ||
64 | /* Define this if you want to use GPE features */ | |
65 | #undef __WXGPE__ | |
66 | ||
67 | /* Define this if your version of Motif is greater than 2.0 */ | |
68 | #undef __WXMOTIF20__ | |
69 | ||
70 | /* | |
71 | * Define to 1 for Unix[-like] system | |
72 | */ | |
73 | #define wxUSE_UNIX 0 | |
74 | ||
75 | #undef __UNIX__ | |
76 | ||
77 | #undef __AIX__ | |
78 | #undef __BSD__ | |
79 | #undef __DARWIN__ | |
80 | #undef __EMX__ | |
81 | #undef __FREEBSD__ | |
82 | #undef __HPUX__ | |
83 | #undef __LINUX__ | |
84 | #undef __NETBSD__ | |
85 | #undef __OPENBSD__ | |
86 | #undef __OSF__ | |
87 | #undef __SGI__ | |
88 | #undef __SOLARIS__ | |
89 | #undef __SUN__ | |
90 | #undef __SUNOS__ | |
91 | #undef __SVR4__ | |
92 | #undef __SYSV__ | |
93 | #undef __ULTRIX__ | |
94 | #undef __UNIXWARE__ | |
95 | #undef __VMS__ | |
96 | ||
97 | #undef __IA64__ | |
98 | #undef __ALPHA__ | |
99 | ||
100 | /* NanoX (with wxX11) */ | |
101 | #define wxUSE_NANOX 0 | |
102 | ||
103 | /* PowerPC Darwin & Mac OS X */ | |
104 | #undef __POWERPC__ | |
105 | #undef TARGET_CARBON | |
106 | ||
107 | /* MS-DOS with DJGPP */ | |
108 | #undef __DOS__ | |
109 | ||
110 | /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */ | |
111 | #ifndef __WINDOWS__ | |
112 | #undef __WINDOWS__ | |
113 | #endif | |
114 | ||
115 | #ifndef __WIN95__ | |
116 | #undef __WIN95__ | |
117 | #endif | |
118 | #ifndef __WIN32__ | |
119 | #undef __WIN32__ | |
120 | #endif | |
121 | #ifndef __GNUWIN32__ | |
122 | #undef __GNUWIN32__ | |
123 | #endif | |
124 | #ifndef STRICT | |
125 | #undef STRICT | |
126 | #endif | |
127 | #ifndef WINVER | |
128 | #undef WINVER | |
129 | #endif | |
130 | ||
131 | /* OS/2 with EMX */ | |
132 | #undef __OS2__ | |
133 | ||
134 | /* enable native status bar under Win32 */ | |
135 | #if defined(__WIN95__) && !defined(__WXUNIVERSAL__) | |
136 | #define wxUSE_NATIVE_STATUSBAR 1 | |
137 | #define wxUSE_OWNER_DRAWN 1 | |
138 | #endif | |
139 | ||
140 | #if defined(__WXPM__) | |
141 | #define wxUSE_OWNER_DRAWN 1 | |
142 | #endif | |
143 | ||
144 | /* enable rich edit under Win32 */ | |
145 | #if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__) | |
146 | #define wxUSE_RICHEDIT 1 | |
147 | #else | |
148 | #define wxUSE_RICHEDIT 0 | |
149 | #endif | |
150 | ||
151 | /* | |
152 | * Supports bool type | |
153 | */ | |
154 | #undef HAVE_BOOL | |
155 | ||
156 | /* | |
157 | * Define if your compiler supports the explicit keyword | |
158 | */ | |
159 | #undef HAVE_EXPLICIT | |
160 | ||
161 | /* | |
162 | * Define if your compiler supports const_cast<>() | |
163 | */ | |
164 | #undef HAVE_CONST_CAST | |
165 | ||
166 | /* | |
167 | * Define if your compiler supports reinterpret_cast<>() | |
168 | */ | |
169 | #undef HAVE_REINTERPRET_CAST | |
170 | ||
171 | /* | |
172 | * Define if your compiler supports static_cast<>() | |
173 | */ | |
174 | #undef HAVE_STATIC_CAST | |
175 | ||
176 | /* | |
177 | * Define if your compiler has C99 va_copy | |
178 | */ | |
179 | #undef HAVE_VA_COPY | |
180 | ||
181 | /* | |
182 | * Define if va_list type is an array | |
183 | */ | |
184 | #undef VA_LIST_IS_ARRAY | |
185 | ||
186 | /* | |
187 | * Define if your compiler has std::wstring | |
188 | */ | |
189 | #undef HAVE_STD_WSTRING | |
190 | /* | |
191 | * Define if your compiler has compliant std::string::compare | |
192 | */ | |
193 | #undef HAVE_STD_STRING_COMPARE | |
194 | /* | |
195 | * Define if your compiler has <hash_map> | |
196 | */ | |
197 | #undef HAVE_HASH_MAP | |
198 | /* | |
199 | * Define if your compiler has <ext/hash_map> | |
200 | */ | |
201 | #undef HAVE_EXT_HASH_MAP | |
202 | /* | |
203 | * Define if your compiler has std::hash_map/hash_set | |
204 | */ | |
205 | #undef HAVE_STD_HASH_MAP | |
206 | /* | |
207 | * Define if your compiler has __gnu_cxx::hash_map/hash_set | |
208 | */ | |
209 | #undef HAVE_GNU_CXX_HASH_MAP | |
210 | ||
211 | /* | |
212 | * use STL for containers and wxString | |
213 | */ | |
214 | #define wxUSE_STL 0 | |
215 | /* | |
216 | * Use regex support | |
217 | */ | |
218 | #define wxUSE_REGEX 0 | |
219 | /* | |
220 | * The built-in regex supports advanced REs in additional to POSIX's basic | |
221 | * and extended. Your system regex probably won't support this, and in this | |
222 | * case WX_NO_REGEX_ADVANCED should be defined. | |
223 | */ | |
224 | #undef WX_NO_REGEX_ADVANCED | |
225 | /* | |
226 | * Use XML support | |
227 | */ | |
228 | #define wxUSE_XML 0 | |
229 | /* | |
230 | * Use zlib | |
231 | */ | |
232 | #define wxUSE_ZLIB 0 | |
233 | /* | |
234 | * Use libpng | |
235 | */ | |
236 | #define wxUSE_LIBPNG 0 | |
237 | /* | |
238 | * Use libjpeg | |
239 | */ | |
240 | #define wxUSE_LIBJPEG 0 | |
241 | /* | |
242 | * Use libtiff | |
243 | */ | |
244 | #define wxUSE_LIBTIFF 0 | |
245 | /* | |
246 | * Use SDL for audio (Unix) | |
247 | */ | |
248 | #define wxUSE_LIBSDL 0 | |
249 | /* | |
250 | * Use iODBC | |
251 | */ | |
252 | #define wxUSE_ODBC 0 | |
253 | #define wxUSE_BUILTIN_IODBC 0 | |
254 | #define wxODBC_FWD_ONLY_CURSORS 1 | |
255 | #define wxODBC_BACKWARD_COMPATABILITY 0 | |
256 | /* | |
257 | * Use freetype | |
258 | */ | |
259 | #define wxUSE_FREETYPE 0 | |
260 | /* | |
261 | * Use Threads | |
262 | */ | |
263 | #define wxUSE_THREADS 0 | |
264 | /* | |
265 | * Have glibc2 | |
266 | */ | |
267 | #define wxHAVE_GLIBC2 0 | |
268 | /* | |
269 | * Use libXpm | |
270 | */ | |
271 | #define wxHAVE_LIB_XPM 0 | |
272 | /* | |
273 | * Use OpenGL | |
274 | */ | |
275 | #define wxUSE_OPENGL 0 | |
276 | #define wxUSE_GLCANVAS 0 | |
277 | ||
278 | /* | |
279 | * Use GUI | |
280 | */ | |
281 | #ifndef wxUSE_GUI | |
282 | #define wxUSE_GUI 0 | |
283 | #endif | |
284 | /* | |
285 | * Don't use GUI (defined to 1 when compiling/using base only) | |
286 | */ | |
287 | #define wxUSE_NOGUI 0 | |
288 | ||
289 | /* | |
290 | * Catch fatal program exceptions | |
291 | */ | |
292 | #define wxUSE_ON_FATAL_EXCEPTION 0 | |
293 | ||
294 | /* | |
295 | * Use wxSingleInstanceChecker class | |
296 | */ | |
297 | #define wxUSE_SNGLINST_CHECKER 0 | |
298 | ||
299 | /* | |
300 | * Use constraints mechanism | |
301 | */ | |
302 | #define wxUSE_CONSTRAINTS 0 | |
303 | ||
304 | /* | |
305 | * Use validators | |
306 | */ | |
307 | #define wxUSE_VALIDATORS 0 | |
308 | ||
309 | /* | |
310 | * Use wxControl | |
311 | */ | |
312 | #define wxUSE_CONTROLS 0 | |
313 | ||
314 | /* | |
315 | Use wxPopupWindow (useful in wxUniv only for now) | |
316 | */ | |
317 | #define wxUSE_POPUPWIN 0 | |
318 | ||
319 | /* | |
320 | Use wxTipWindow | |
321 | */ | |
322 | #define wxUSE_TIPWINDOW 0 | |
323 | ||
324 | /* | |
325 | * Use accelerators | |
326 | */ | |
327 | #define wxUSE_ACCEL 0 | |
328 | ||
329 | /* | |
330 | * Use wxCalendarCtrl | |
331 | */ | |
332 | #define wxUSE_CALENDARCTRL 0 | |
333 | ||
334 | /* | |
335 | * Use wxFileDialog | |
336 | */ | |
337 | #define wxUSE_FILEDLG 0 | |
338 | ||
339 | /* | |
340 | * Use wxFindReplaceDialog | |
341 | */ | |
342 | #define wxUSE_FINDREPLDLG 0 | |
343 | ||
344 | /* | |
345 | * Use wxFontDialog | |
346 | */ | |
347 | #define wxUSE_FONTDLG 0 | |
348 | ||
349 | /* | |
350 | * Use wxMimeTypesManager and related classes | |
351 | */ | |
352 | #define wxUSE_MIMETYPE 0 | |
353 | ||
354 | /* | |
355 | * Use wxSystemOptions | |
356 | */ | |
357 | #define wxUSE_SYSTEM_OPTIONS 0 | |
358 | ||
359 | /* | |
360 | * Use wxMessageDialog (and wxMessageBox) | |
361 | */ | |
362 | #define wxUSE_MSGDLG 0 | |
363 | ||
364 | /* | |
365 | * Use wxNumberEntryDialog | |
366 | */ | |
367 | #define wxUSE_NUMBERDLG 0 | |
368 | ||
369 | /* | |
370 | * Use wxTextEntryDialog | |
371 | */ | |
372 | #define wxUSE_TEXTDLG 0 | |
373 | ||
374 | /* | |
375 | * Use startup tips | |
376 | */ | |
377 | #define wxUSE_STARTUP_TIPS 0 | |
378 | ||
379 | /* | |
380 | * Use progress dialog | |
381 | */ | |
382 | #define wxUSE_PROGRESSDLG 0 | |
383 | ||
384 | /* | |
385 | * Use chooser dialog | |
386 | */ | |
387 | #define wxUSE_CHOICEDLG 0 | |
388 | ||
389 | /* | |
390 | * Use colour picker dialog | |
391 | */ | |
392 | #define wxUSE_COLOURDLG 0 | |
393 | ||
394 | /* | |
395 | * Use directory chooser dialog | |
396 | */ | |
397 | #define wxUSE_DIRDLG 0 | |
398 | ||
399 | /* | |
400 | * Use wxDragImage class | |
401 | */ | |
402 | #define wxUSE_DRAGIMAGE 0 | |
403 | ||
404 | /* | |
405 | * Enable accessibility support | |
406 | */ | |
407 | #define wxUSE_ACCESSIBILITY 0 | |
408 | ||
409 | /* | |
410 | * Use property sheet classes | |
411 | */ | |
412 | #define wxUSE_PROPSHEET 0 | |
413 | ||
414 | /* | |
415 | * Use wxWizard | |
416 | */ | |
417 | #define wxUSE_WIZARDDLG 0 | |
418 | ||
419 | /* | |
420 | * Use splash screen | |
421 | */ | |
422 | #define wxUSE_SPLASH 0 | |
423 | ||
424 | /* | |
425 | * Joystick support (Linux/GTK only) | |
426 | */ | |
427 | #define wxUSE_JOYSTICK 0 | |
428 | ||
429 | /* | |
430 | * Use this control | |
431 | */ | |
432 | #define wxUSE_BUTTON 0 | |
433 | /* | |
434 | * Use this control | |
435 | */ | |
436 | #define wxUSE_CARET 0 | |
437 | /* | |
438 | * Use this control | |
439 | */ | |
440 | #define wxUSE_BMPBUTTON 0 | |
441 | /* | |
442 | * Use this control | |
443 | */ | |
444 | #define wxUSE_CHECKBOX 0 | |
445 | /* | |
446 | * Use this control | |
447 | */ | |
448 | #define wxUSE_CHECKLISTBOX 0 | |
449 | /* | |
450 | * Use this control | |
451 | */ | |
452 | #define wxUSE_COMBOBOX 0 | |
453 | /* | |
454 | * Use this control | |
455 | */ | |
456 | #define wxUSE_CHOICE 0 | |
457 | /* | |
458 | * Use wxDisplay class | |
459 | */ | |
460 | #define wxUSE_DISPLAY 0 | |
461 | /* | |
462 | * Use this control | |
463 | */ | |
464 | #define wxUSE_GAUGE 0 | |
465 | /* | |
466 | * Use this control | |
467 | */ | |
468 | #define wxUSE_GRID 0 | |
469 | /* | |
470 | * Use the new prototype wxGrid classes | |
471 | * (wxUSE_GRID must also be defined) | |
472 | */ | |
473 | #define wxUSE_NEW_GRID 0 | |
474 | /* | |
475 | * Use wxImageList class | |
476 | */ | |
477 | #define wxUSE_IMAGLIST 0 | |
478 | /* | |
479 | * Use this control | |
480 | */ | |
481 | #define wxUSE_LISTBOX 0 | |
482 | /* | |
483 | * Use this control | |
484 | */ | |
485 | #define wxUSE_LISTCTRL 0 | |
486 | /* | |
487 | * Use wxMenuBar, wxMenuItem and wxMenu | |
488 | */ | |
489 | #define wxUSE_MENUS 0 | |
490 | /* | |
491 | * Use this control | |
492 | */ | |
493 | #define wxUSE_NOTEBOOK 0 | |
494 | #define wxUSE_LISTBOOK 0 | |
495 | #define wxUSE_CHOICEBOOK 0 | |
496 | /* | |
497 | * Use this control | |
498 | */ | |
499 | #define wxUSE_RADIOBOX 0 | |
500 | /* | |
501 | * Use this control | |
502 | */ | |
503 | #define wxUSE_RADIOBTN 0 | |
504 | /* | |
505 | * Use this control | |
506 | */ | |
507 | #define wxUSE_SASH 0 | |
508 | /* | |
509 | * Use this control | |
510 | */ | |
511 | #define wxUSE_SCROLLBAR 0 | |
512 | /* | |
513 | * Use this control | |
514 | */ | |
515 | #define wxUSE_SLIDER 0 | |
516 | /* | |
517 | * Use this control | |
518 | */ | |
519 | #define wxUSE_SPINBTN 0 | |
520 | /* | |
521 | * Use this control | |
522 | */ | |
523 | #define wxUSE_SPINCTRL 0 | |
524 | /* | |
525 | * Use this control | |
526 | */ | |
527 | #define wxUSE_SPLITTER 0 | |
528 | /* | |
529 | * Use this control | |
530 | */ | |
531 | #define wxUSE_STATBMP 0 | |
532 | /* | |
533 | * Use this control | |
534 | */ | |
535 | #define wxUSE_STATBOX 0 | |
536 | /* | |
537 | * Use this control | |
538 | */ | |
539 | #define wxUSE_STATLINE 0 | |
540 | /* | |
541 | * Use this control | |
542 | */ | |
543 | #define wxUSE_STATTEXT 0 | |
544 | /* | |
545 | * Use this control | |
546 | */ | |
547 | #define wxUSE_STATUSBAR 0 | |
548 | /* | |
549 | * Use this control | |
550 | */ | |
551 | #define wxUSE_TOGGLEBTN 0 | |
552 | /* | |
553 | * Use Tab dialog class - obsolete, use wxNotebook instead | |
554 | */ | |
555 | #define wxUSE_TAB_DIALOG 0 | |
556 | /* compatibility */ | |
557 | #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG | |
558 | ||
559 | /* | |
560 | * Use wxTextCtrl | |
561 | */ | |
562 | #define wxUSE_TEXTCTRL 0 | |
563 | ||
564 | /* | |
565 | * Use wxToollBar | |
566 | */ | |
567 | #define wxUSE_TOOLBAR 0 | |
568 | ||
569 | /* | |
570 | * If 1, use the native toolbar, otherwise use the generic version | |
571 | * (wxToolBarSimple) which may also be use together with the native one. | |
572 | */ | |
573 | #define wxUSE_TOOLBAR_NATIVE 0 | |
574 | ||
575 | /* | |
576 | * Use wxTreeLayout class | |
577 | */ | |
578 | #define wxUSE_TREELAYOUT 0 | |
579 | ||
580 | /* | |
581 | * Use this control | |
582 | */ | |
583 | #define wxUSE_TREECTRL 0 | |
584 | ||
585 | /* | |
586 | * Use wxLongLong (a.k.a. int64) class | |
587 | */ | |
588 | #define wxUSE_LONGLONG 0 | |
589 | ||
590 | /* | |
591 | * Use geometry classes | |
592 | */ | |
593 | #define wxUSE_GEOMETRY 0 | |
594 | ||
595 | /* | |
596 | * Use wxCmdLineParser class | |
597 | */ | |
598 | #define wxUSE_CMDLINE_PARSER 0 | |
599 | /* | |
600 | * Use wxDateTime | |
601 | */ | |
602 | #define wxUSE_DATETIME 0 | |
603 | /* | |
604 | * Use wxFile class | |
605 | */ | |
606 | #define wxUSE_FILE 0 | |
607 | /* | |
608 | * Use wxFFile class | |
609 | */ | |
610 | #define wxUSE_FFILE 0 | |
611 | /* | |
612 | * Use wxFSVolume class | |
613 | */ | |
614 | #define wxUSE_FSVOLUME 1 | |
615 | ||
616 | /* | |
617 | * Use wxTextBuffer class | |
618 | */ | |
619 | #define wxUSE_TEXTBUFFER 0 | |
620 | /* | |
621 | * Use wxTextFile class | |
622 | */ | |
623 | #define wxUSE_TEXTFILE 0 | |
624 | ||
625 | #define wxUSE_EXCEPTIONS 0 | |
626 | ||
627 | /* | |
628 | * Use log classes and logging functions | |
629 | */ | |
630 | #define wxUSE_LOG 0 | |
631 | /* | |
632 | * Use log window | |
633 | */ | |
634 | #define wxUSE_LOGWINDOW 0 | |
635 | /* | |
636 | * Use standard GUI logger | |
637 | */ | |
638 | #define wxUSE_LOGGUI 0 | |
639 | /* | |
640 | * Use old log dialog instead of new wxLogGui | |
641 | */ | |
642 | #define wxUSE_LOG_DIALOG 0 | |
643 | /* | |
644 | * Use wxStopWatch | |
645 | */ | |
646 | #define wxUSE_STOPWATCH 0 | |
647 | /* | |
648 | * Use time and date classes | |
649 | */ | |
650 | #define wxUSE_TIMEDATE 0 | |
651 | /* | |
652 | * Use wave class | |
653 | */ | |
654 | #define wxUSE_SOUND 0 | |
655 | /* | |
656 | * Use config system | |
657 | */ | |
658 | #define wxUSE_CONFIG 0 | |
659 | /* | |
660 | * Use font mapping/conversion classes | |
661 | */ | |
662 | #define wxUSE_FONTMAP 0 | |
663 | /* | |
664 | * Use intl system | |
665 | */ | |
666 | #define wxUSE_INTL 0 | |
667 | /* | |
668 | * Use wxProtocol and related classes | |
669 | */ | |
670 | #define wxUSE_PROTOCOL 0 | |
671 | #define wxUSE_PROTOCOL_FILE 0 | |
672 | #define wxUSE_PROTOCOL_FTP 0 | |
673 | #define wxUSE_PROTOCOL_HTTP 0 | |
674 | /* | |
675 | * Use streams | |
676 | */ | |
677 | #define wxUSE_STREAMS 0 | |
678 | /* | |
679 | * Use sockets | |
680 | */ | |
681 | #define wxUSE_SOCKETS 0 | |
682 | /* | |
683 | * Use dialup manager | |
684 | */ | |
685 | #define wxUSE_DIALUP_MANAGER 0 | |
686 | /* | |
687 | * Use standard C++ streams if 1. If 0, use wxWin | |
688 | * streams implementation. | |
689 | */ | |
690 | #define wxUSE_STD_IOSTREAM 0 | |
691 | /* | |
692 | * wxLibrary class | |
693 | */ | |
694 | #define wxUSE_DYNLIB_CLASS 0 | |
695 | /* | |
696 | * Use wxObjectLoader | |
697 | */ | |
698 | #define wxUSE_DYNAMIC_LOADER 0 | |
699 | ||
700 | /* | |
701 | * Use wxTimer | |
702 | */ | |
703 | #define wxUSE_TIMER 0 | |
704 | ||
705 | /* | |
706 | * Use font metric files in GetTextExtent for wxPostScriptDC | |
707 | * Use consistent PostScript fonts for AFM and printing (!) | |
708 | */ | |
709 | #define wxUSE_AFM_FOR_POSTSCRIPT 0 | |
710 | #define wxUSE_NORMALIZED_PS_FONTS 0 | |
711 | ||
712 | /* compatibility */ | |
713 | #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS | |
714 | ||
715 | /* | |
716 | * Use PostScript device context | |
717 | */ | |
718 | #define wxUSE_POSTSCRIPT 0 | |
719 | ||
720 | /* | |
721 | * Compile wxString with some Unicode (wide character) support? | |
722 | */ | |
723 | #define wxUSE_WCHAR_T 0 | |
724 | ||
725 | /* | |
726 | * Compile wxWindows in Unicode mode? | |
727 | */ | |
728 | #define wxUSE_UNICODE 0 | |
729 | ||
730 | /* | |
731 | * Use MS Layer for Unicode on Win9X (Win32 only)? | |
732 | */ | |
733 | #define wxUSE_UNICODE_MSLU 0 | |
734 | ||
735 | /* | |
736 | * Set to 1 to compile MS Windows XP theme engine support | |
737 | */ | |
738 | #define wxUSE_UXTHEME 1 | |
739 | ||
740 | /* | |
741 | * Set to 1 to auto-adapt to MS Windows XP themes where possible | |
742 | * (notably, wxNotebook pages) | |
743 | */ | |
744 | #define wxUSE_UXTHEME_AUTO 1 | |
745 | ||
746 | /* | |
747 | * Set to 1 to use mousewheel events on Windows | |
748 | */ | |
749 | #define wxUSE_MOUSEWHEEL 1 | |
750 | ||
751 | /* | |
752 | * Hotkey support (Windows) | |
753 | */ | |
754 | #define wxUSE_HOTKEY 1 | |
755 | ||
756 | /* | |
757 | * Use wxURL class | |
758 | */ | |
759 | #define wxUSE_URL 0 | |
760 | ||
761 | /* | |
762 | * Work around a bug in GNU libc 5.x wcstombs() implementation. | |
763 | * | |
764 | * Note that you must link your programs with libc.a if you enable this and you | |
765 | * have libc 5 (you should enable this for libc6 where wcsrtombs() is | |
766 | * thread-safe version of wcstombs()). | |
767 | */ | |
768 | #define wxUSE_WCSRTOMBS 0 | |
769 | ||
770 | /* | |
771 | * Use the new experimental implementation of wxString::Printf()? | |
772 | * | |
773 | * Warning: enabling this may cause internal compiler errors with gcc! | |
774 | */ | |
775 | #define wxUSE_EXPERIMENTAL_PRINTF 0 | |
776 | ||
777 | /* | |
778 | * Use Interprocess communication | |
779 | */ | |
780 | #define wxUSE_IPC 0 | |
781 | /* | |
782 | * Use wxGetResource & wxWriteResource (change .Xdefaults) | |
783 | */ | |
784 | #define wxUSE_X_RESOURCES 0 | |
785 | /* | |
786 | * Use clipboard | |
787 | */ | |
788 | #define wxUSE_CLIPBOARD 0 | |
789 | /* | |
790 | * Use wxDataObject | |
791 | */ | |
792 | #define wxUSE_DATAOBJ 0 | |
793 | /* | |
794 | * Use tooltips | |
795 | */ | |
796 | #define wxUSE_TOOLTIPS 0 | |
797 | /* | |
798 | * Use dnd | |
799 | */ | |
800 | #define wxUSE_DRAG_AND_DROP 0 | |
801 | /* | |
802 | * Use OLE (MSW only) | |
803 | */ | |
804 | #define wxUSE_OLE 0 | |
805 | /* | |
806 | * Use spline | |
807 | */ | |
808 | #define wxUSE_SPLINES 0 | |
809 | ||
810 | /* | |
811 | * Use MDI. | |
812 | */ | |
813 | #define wxUSE_MDI 0 | |
814 | /* | |
815 | * Use the mdi architecture | |
816 | */ | |
817 | #define wxUSE_MDI_ARCHITECTURE 0 | |
818 | /* | |
819 | * Use the document/view architecture | |
820 | */ | |
821 | #define wxUSE_DOC_VIEW_ARCHITECTURE 0 | |
822 | /* | |
823 | * Use the print/preview architecture | |
824 | */ | |
825 | #define wxUSE_PRINTING_ARCHITECTURE 0 | |
826 | ||
827 | /* | |
828 | * Use Prolog IO | |
829 | */ | |
830 | #define wxUSE_PROLOGIO 0 | |
831 | /* | |
832 | * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1) | |
833 | */ | |
834 | #define wxUSE_RESOURCES 0 | |
835 | ||
836 | /* for compatibility */ | |
837 | #define wxUSE_WX_RESOURCES wxUSE_RESOURCES | |
838 | ||
839 | /* | |
840 | * Use wxWindows help facility | |
841 | */ | |
842 | #define wxUSE_HELP 0 | |
843 | /* | |
844 | * Use built-in HTML-based help controller | |
845 | */ | |
846 | #define wxUSE_WXHTML_HELP 0 | |
847 | /* | |
848 | * Use MS HTML Help controller (win32) | |
849 | */ | |
850 | #define wxUSE_MS_HTML_HELP 0 | |
851 | /* | |
852 | * Use MS HTML Help via libmspack (Unix) | |
853 | */ | |
854 | #define wxUSE_LIBMSPACK 0 | |
855 | ||
856 | /* | |
857 | * Use iostream.h rather than iostream | |
858 | */ | |
859 | #define wxUSE_IOSTREAMH 0 | |
860 | /* | |
861 | * Use Apple Ieee-double converter | |
862 | */ | |
863 | #define wxUSE_APPLE_IEEE 0 | |
864 | /* | |
865 | * Compatibility with 2.2 API | |
866 | */ | |
867 | #define WXWIN_COMPATIBILITY_2_2 0 | |
868 | /* | |
869 | * Compatibility with 2.4 API | |
870 | */ | |
871 | #define WXWIN_COMPATIBILITY_2_4 0 | |
872 | /* | |
873 | * Enables debugging: memory tracing, assert, etc., contains debug level | |
874 | */ | |
875 | #define WXDEBUG 0 | |
876 | /* | |
877 | * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG) | |
878 | * WARNING: this code may not work with all architectures, especially | |
879 | * if alignment is an issue. | |
880 | */ | |
881 | #define wxUSE_MEMORY_TRACING 0 | |
882 | /* | |
883 | * Enable debugging version of global memory operators new and delete | |
884 | * Disable it, If this causes problems (e.g. link errors) | |
885 | */ | |
886 | #define wxUSE_DEBUG_NEW_ALWAYS 0 | |
887 | /* | |
888 | * VZ: What does this one do? (FIXME) | |
889 | */ | |
890 | #define wxUSE_DEBUG_CONTEXT 0 | |
891 | /* | |
892 | * In debug mode, causes new to be defined to | |
893 | * be WXDEBUG_NEW (see object.h). If this causes | |
894 | * problems (e.g. link errors), set this to 0. | |
895 | */ | |
896 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 | |
897 | /* | |
898 | * Matthews garbage collection (used for MrEd?) | |
899 | */ | |
900 | #define WXGARBAGE_COLLECTION_ON 0 | |
901 | /* | |
902 | * Use splines | |
903 | */ | |
904 | #define wxUSE_SPLINES 0 | |
905 | /* | |
906 | * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port | |
907 | */ | |
908 | #define wxUSE_DYNAMIC_CLASSES 1 | |
909 | ||
910 | /* | |
911 | * Support for metafiles | |
912 | */ | |
913 | #define wxUSE_METAFILE 0 | |
914 | #define wxUSE_ENH_METAFILE 0 | |
915 | ||
916 | /* | |
917 | * wxMiniFrame | |
918 | */ | |
919 | #define wxUSE_MINIFRAME 0 | |
920 | ||
921 | /* | |
922 | * wxHTML | |
923 | */ | |
924 | #define wxUSE_HTML 0 | |
925 | ||
926 | /* | |
927 | * wxXRC | |
928 | */ | |
929 | #define wxUSE_XRC 0 | |
930 | ||
931 | /* | |
932 | * wxWebKitCtrl | |
933 | */ | |
934 | #define wxUSE_WEBKIT 0 | |
935 | ||
936 | /* | |
937 | * (virtual) filesystems code | |
938 | */ | |
939 | #define wxUSE_FILESYSTEM 0 | |
940 | #define wxUSE_FS_INET 0 | |
941 | #define wxUSE_FS_ZIP 0 | |
942 | ||
943 | /* | |
944 | * A class that shows info window when app is busy | |
945 | * (works exactly like wxBusyCursor) | |
946 | */ | |
947 | #define wxUSE_BUSYINFO 0 | |
948 | ||
949 | /* | |
950 | * Zip stream for accessing files stored inside .zip archives | |
951 | */ | |
952 | #define wxUSE_ZIPSTREAM 0 | |
953 | ||
954 | /* | |
955 | * wxPalette class | |
956 | */ | |
957 | #define wxUSE_PALETTE 0 | |
958 | ||
959 | /* | |
960 | * wxImage support | |
961 | */ | |
962 | #define wxUSE_IMAGE 0 | |
963 | ||
964 | /* | |
965 | * GIF image format support | |
966 | */ | |
967 | #define wxUSE_GIF 0 | |
968 | ||
969 | /* | |
970 | * PCX image format support | |
971 | */ | |
972 | #define wxUSE_PCX 0 | |
973 | ||
974 | /* | |
975 | * IFF image format support | |
976 | */ | |
977 | #define wxUSE_IFF 0 | |
978 | ||
979 | /* | |
980 | * PNM image format support | |
981 | */ | |
982 | #define wxUSE_PNM 0 | |
983 | ||
984 | /* | |
985 | * XPM image format support | |
986 | */ | |
987 | #define wxUSE_XPM 0 | |
988 | ||
989 | /* | |
990 | * MS ICO (and CUR,ANI derivatives) image format support (on any platform) | |
991 | */ | |
992 | #define wxUSE_ICO_CUR 0 | |
993 | ||
994 | /* | |
995 | * Set to 1 if for dynamically loadable plugins support | |
996 | */ | |
997 | #define wxUSE_PLUGINS 0 | |
998 | ||
999 | /* | |
1000 | * Disable this if your compiler can't cope | |
1001 | * with omission of prototype parameters. | |
1002 | */ | |
1003 | #define REMOVE_UNUSED_ARG 1 | |
1004 | /* | |
1005 | * The const keyword is being introduced more in wxWindows. | |
1006 | * You can use this setting to maintain backward compatibility. | |
1007 | * If 0: will use const wherever possible. | |
1008 | * If 1: will use const only where necessary | |
1009 | * for precompiled headers to work. | |
1010 | * If 2: will be totally backward compatible, but precompiled | |
1011 | * headers may not work and program size will be larger. | |
1012 | */ | |
1013 | #define CONST_COMPATIBILITY 0 | |
1014 | ||
1015 | /* define with the name of timezone variable */ | |
1016 | #undef WX_TIMEZONE | |
1017 | ||
1018 | /* The type of 3rd argument to getsockname() - usually size_t or int */ | |
1019 | #undef SOCKLEN_T | |
1020 | ||
1021 | /* The type of statvfs(2) argument */ | |
1022 | #undef WX_STATFS_T | |
1023 | ||
1024 | /* The signal handler prototype */ | |
1025 | #undef wxTYPE_SA_HANDLER | |
1026 | ||
1027 | /* gettimeofday() usually takes 2 arguments, but some really old systems might | |
1028 | * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ | |
1029 | #undef WX_GETTIMEOFDAY_NO_TZ | |
1030 | ||
1031 | /* struct tm doesn't always have the tm_gmtoff field, define this if it does */ | |
1032 | #undef WX_GMTOFF_IN_TM | |
1033 | ||
1034 | /* Define if you have poll(2) function */ | |
1035 | #undef HAVE_POLL | |
1036 | ||
1037 | /* Define if you have pw_gecos field in struct passwd */ | |
1038 | #undef HAVE_PW_GECOS | |
1039 | ||
1040 | /* Define if you have dlopen() */ | |
1041 | #undef HAVE_DLOPEN | |
1042 | ||
1043 | /* Define if you have gettimeofday() */ | |
1044 | #undef HAVE_GETTIMEOFDAY | |
1045 | ||
1046 | /* Define if you have ftime() */ | |
1047 | #undef HAVE_FTIME | |
1048 | ||
1049 | /* Define if you have support for large (64 bit size) files */ | |
1050 | #undef HAVE_LARGEFILE_SUPPORT | |
1051 | ||
1052 | /* Define if you have localtime() */ | |
1053 | #undef HAVE_LOCALTIME | |
1054 | ||
1055 | /* Define if you have nanosleep() */ | |
1056 | #undef HAVE_NANOSLEEP | |
1057 | ||
1058 | /* Define if you have sched_yield */ | |
1059 | #undef HAVE_SCHED_YIELD | |
1060 | ||
1061 | /* Define if you have pthread_mutexattr_t and functions to work with it */ | |
1062 | #undef HAVE_PTHREAD_MUTEXATTR_T | |
1063 | ||
1064 | /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ | |
1065 | #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER | |
1066 | ||
1067 | /* Define if you have pthread_cancel */ | |
1068 | #undef HAVE_PTHREAD_CANCEL | |
1069 | ||
1070 | /* Define if you have sigaction() */ | |
1071 | #undef HAVE_SIGACTION | |
1072 | ||
1073 | /* Define if you have sigemptyset() */ | |
1074 | #undef HAVE_SIGEMPTYSET | |
1075 | ||
1076 | /* Define if you have shl_load() */ | |
1077 | #undef HAVE_SHL_LOAD | |
1078 | ||
1079 | /* define if you have statfs function */ | |
1080 | #undef HAVE_STATFS | |
1081 | ||
1082 | /* define if you have statvfs function */ | |
1083 | #undef HAVE_STATVFS | |
1084 | ||
1085 | /* Define if you have strptime() */ | |
1086 | #undef HAVE_STRPTIME | |
1087 | ||
1088 | /* Define if you have all functions to set thread priority */ | |
1089 | #undef HAVE_THREAD_PRIORITY_FUNCTIONS | |
1090 | ||
1091 | /* Define if you can specify exit functions to a thread */ | |
1092 | #undef HAVE_THREAD_CLEANUP_FUNCTIONS | |
1093 | ||
1094 | /* Define if you have timegm() function */ | |
1095 | #undef HAVE_TIMEGM | |
1096 | ||
1097 | /* Define if you have vsnprintf() */ | |
1098 | #undef HAVE_VSNPRINTF | |
1099 | ||
1100 | /* Define if you have vsnprintf() declaration in the header */ | |
1101 | #undef HAVE_VSNPRINTF_DECL | |
1102 | ||
1103 | /* Define if you have usleep() */ | |
1104 | #undef HAVE_USLEEP | |
1105 | ||
1106 | /* Define if you have wcslen function */ | |
1107 | #undef HAVE_WCSLEN | |
1108 | ||
1109 | /* define if you have vsscanf function */ | |
1110 | #undef HAVE_VSSCANF | |
1111 | ||
1112 | /* The number of bytes in a char. */ | |
1113 | #undef SIZEOF_CHAR | |
1114 | ||
1115 | /* The number of bytes in a wchar_t. */ | |
1116 | #undef SIZEOF_WCHAR_T | |
1117 | ||
1118 | /* The number of bytes in a int. */ | |
1119 | #undef SIZEOF_INT | |
1120 | ||
1121 | /* The number of bytes in a pointer. */ | |
1122 | #undef SIZEOF_VOID_P | |
1123 | ||
1124 | /* The number of bytes in a long. */ | |
1125 | #undef SIZEOF_LONG | |
1126 | ||
1127 | /* The number of bytes in a long long. */ | |
1128 | #undef SIZEOF_LONG_LONG | |
1129 | ||
1130 | /* The number of bytes in a short. */ | |
1131 | #undef SIZEOF_SHORT | |
1132 | ||
1133 | /* The number of bytes in a size_t. */ | |
1134 | #undef SIZEOF_SIZE_T | |
1135 | ||
1136 | /* Define if size_t on your machine is the same type as unsigned int. */ | |
1137 | #undef wxSIZE_T_IS_UINT | |
1138 | ||
1139 | /* Define if size_t on your machine is the same type as unsigned long. */ | |
1140 | #undef wxSIZE_T_IS_ULONG | |
1141 | ||
1142 | /* Define if you have the dlopen function. */ | |
1143 | #undef HAVE_DLOPEN | |
1144 | ||
1145 | /* Define if you have the dlerror function. */ | |
1146 | #undef HAVE_DLERROR | |
1147 | ||
1148 | /* Define if you have Posix fnctl() function. */ | |
1149 | #undef HAVE_FCNTL | |
1150 | ||
1151 | /* Define if you have BSD flock() function. */ | |
1152 | #undef HAVE_FLOCK | |
1153 | ||
1154 | /* Define if you have the gethostname function. */ | |
1155 | #undef HAVE_GETHOSTNAME | |
1156 | ||
1157 | /* Define if you have the inet_addr function. */ | |
1158 | #undef HAVE_INET_ADDR | |
1159 | ||
1160 | /* Define if you have the inet_aton function. */ | |
1161 | #undef HAVE_INET_ATON | |
1162 | ||
1163 | /* Define if you have the mktemp function. */ | |
1164 | #undef HAVE_MKTEMP | |
1165 | ||
1166 | /* Define if you have the mkstemp function. */ | |
1167 | #undef HAVE_MKSTEMP | |
1168 | ||
1169 | /* Define if you have the nanosleep function. */ | |
1170 | #undef HAVE_NANOSLEEP | |
1171 | ||
1172 | /* Define if you have the putenv function. */ | |
1173 | #undef HAVE_PUTENV | |
1174 | ||
1175 | /* Define if you have the setenv function. */ | |
1176 | #undef HAVE_SETENV | |
1177 | ||
1178 | /* Define if you have the shl_load function. */ | |
1179 | #undef HAVE_SHL_LOAD | |
1180 | ||
1181 | /* Define if you have strtok_r function. */ | |
1182 | #undef HAVE_STRTOK_R | |
1183 | ||
1184 | /* Define if you have thr_setconcurrency function */ | |
1185 | #undef HAVE_THR_SETCONCURRENCY | |
1186 | ||
1187 | /* Define if you have the uname function. */ | |
1188 | #undef HAVE_UNAME | |
1189 | ||
1190 | /* Define if you have the usleep function. */ | |
1191 | #undef HAVE_USLEEP | |
1192 | ||
1193 | /* Define if you have the <X11/XKBlib.h> header file. */ | |
1194 | #undef HAVE_X11_XKBLIB_H | |
1195 | ||
1196 | /* Define if you have the <X11/extensions/xf86vmode.h> header file. */ | |
1197 | #undef HAVE_X11_EXTENSIONS_XF86VMODE_H | |
1198 | ||
1199 | /* Define if you have the fnmatch() function */ | |
1200 | #undef HAVE_FNMATCH | |
1201 | ||
1202 | /* Define if you have the <fnmatch.h> header file. */ | |
1203 | #undef HAVE_FNMATCH_H | |
1204 | ||
1205 | /* Define if you have the <iostream> header file. */ | |
1206 | #undef HAVE_IOSTREAM | |
1207 | ||
1208 | /* Define if you have the <linux/joystick.h> header file. */ | |
1209 | #undef HAVE_LINUX_JOYSTICK_H | |
1210 | ||
1211 | /* Define if you have the <sched.h> header file. */ | |
1212 | #undef HAVE_SCHED_H | |
1213 | ||
1214 | /* Define if you have the <unistd.h> header file. */ | |
1215 | #undef HAVE_UNISTD_H | |
1216 | ||
1217 | /* Define if you have the <fcntl.h> header file. */ | |
1218 | #undef HAVE_FCNTL_H | |
1219 | ||
1220 | /* Define if you have the <wchar.h> header file. */ | |
1221 | #undef HAVE_WCHAR_H | |
1222 | ||
1223 | /* Define if you have the <wcstr.h> header file. */ | |
1224 | #undef HAVE_WCSTR_H | |
1225 | ||
1226 | /* Define if you have the <wctype.h> header file. */ | |
1227 | #undef HAVE_WCTYPE_H | |
1228 | ||
1229 | /* Define if you have the <iconv.h> header file and iconv() symbol. */ | |
1230 | #undef HAVE_ICONV | |
1231 | ||
1232 | /* Define as "const" if the declaration of iconv() needs const. */ | |
1233 | #undef ICONV_CONST | |
1234 | ||
1235 | /* Define if you have the <langinfo.h> header file. */ | |
1236 | #undef HAVE_LANGINFO_H | |
1237 | ||
1238 | /* Define if you have the <w32api.h> header file (mingw,cygwin). */ | |
1239 | #undef HAVE_W32API_H | |
1240 | ||
1241 | /* Define if you have the <esd.h> header file. */ | |
1242 | #undef HAVE_ESD_H | |
1243 | ||
1244 | /* Define if you have the <sys/soundcard.h> header file. */ | |
1245 | #undef HAVE_SYS_SOUNDCARD_H | |
1246 | ||
1247 | /* Define if you have a CD-ROM interface known to mmedia. */ | |
1248 | #undef HAVE_KNOWN_CDROM_INTERFACE | |
1249 | ||
1250 | /* Define if you have wcsrtombs() function */ | |
1251 | #undef HAVE_WCSRTOMBS | |
1252 | ||
1253 | /* Define this if you have wputc() */ | |
1254 | #undef HAVE_WPUTC | |
1255 | ||
1256 | /* Define this if you have wputchar() */ | |
1257 | #undef HAVE_WPUTCHAR | |
1258 | ||
1259 | /* Define this if you have putws() */ | |
1260 | #undef HAVE_PUTWS | |
1261 | ||
1262 | /* Define this if you have fputws() */ | |
1263 | #undef HAVE_FPUTWS | |
1264 | ||
1265 | /* Define this if you have strcasecmp() function in <string.h> */ | |
1266 | #undef HAVE_STRCASECMP_IN_STRING_H | |
1267 | ||
1268 | /* Define this if you have strcasecmp() function in <strings.h> */ | |
1269 | #undef HAVE_STRCASECMP_IN_STRINGS_H | |
1270 | ||
1271 | /* Define this if you have wprintf() and related functions */ | |
1272 | #undef HAVE_WPRINTF | |
1273 | ||
1274 | /* Define this if you have wprintf() and related functions */ | |
1275 | #undef HAVE_VSWPRINTF | |
1276 | ||
1277 | /* Define this if you have _vsnwprintf */ | |
1278 | #undef HAVE__VSNWPRINTF | |
1279 | ||
1280 | /* Define this if you are using gtk and gdk contains support for X11R6 XIM */ | |
1281 | #undef HAVE_XIM | |
1282 | ||
1283 | /* Define this if you have X11/extensions/shape.h */ | |
1284 | #undef HAVE_XSHAPE | |
1285 | ||
1286 | /* Define this if you have type SPBCDATA */ | |
1287 | #undef HAVE_SPBCDATA | |
1288 | ||
1289 | /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */ | |
1290 | #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE | |
1291 | ||
1292 | /* ------------------------------------------------------------------------- | |
1293 | Win32 adjustments section | |
1294 | ------------------------------------------------------------------------- */ | |
1295 | ||
1296 | #ifdef __WIN32__ | |
1297 | ||
1298 | /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility | |
1299 | with wx/msw/setup.h */ | |
1300 | #define wxUSE_XPM_IN_MSW wxUSE_XPM | |
1301 | ||
1302 | #endif /* __WIN32__ */ | |
1303 | ||
1304 | /* --------------------------------------------------------* | |
1305 | * This stuff is static, it doesn't get modified directly | |
1306 | * by configure. | |
1307 | */ | |
1308 | ||
1309 | #include "wx/chkconf.h" | |
1310 | ||
1311 | /* | |
1312 | define some constants identifying wxWindows version in more details than | |
1313 | just the version number | |
1314 | */ | |
1315 | ||
1316 | /* wxLogChain class available */ | |
1317 | #define wxHAS_LOG_CHAIN | |
1318 | ||
1319 | /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */ | |
1320 | #undef wxHAS_WORKING_GTK_DC_BLIT | |
1321 | ||
1322 | ||
1323 | #endif /* __WX_SETUP_H__ */ | |
1324 |