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