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