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