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