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