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