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