]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/univ/setup0.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/setup.h
3 // Purpose: configuration settings for wxUniversal/MSW
4 // Author: Vadim Zeitlin
8 // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_UNIV_SETUP_H_
13 #define _WX_UNIV_SETUP_H_
15 // ----------------------------------------------------------------------------
17 // ----------------------------------------------------------------------------
18 // define this to 0 when building wxBase library - this can also be done from
19 // makefile/project file overriding the value here
24 // ----------------------------------------------------------------------------
25 // compatibility settings
26 // ----------------------------------------------------------------------------
28 // This setting determines the compatibility with 2.6 API: set it to 0 to
29 // flag all cases of using deprecated functions.
31 // Default is 1 but please try building your code with 0 as the default will
32 // change to 0 in the next version and the deprecated functions will disappear
33 // in the version after it completely.
35 // Recommended setting: 0 (please update your code)
36 #define WXWIN_COMPATIBILITY_2_6 0
38 // This setting determines the compatibility with 2.8 API: set it to 0 to
39 // flag all cases of using deprecated functions.
41 // Default is 1 but please try building your code with 0 as the default will
42 // change to 0 in the next version and the deprecated functions will disappear
43 // in the version after it completely.
45 // Recommended setting: 0 (please update your code)
46 #define WXWIN_COMPATIBILITY_2_8 1
48 // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
49 // default system font is used for wxWindow::GetCharWidth/Height() instead of
54 // Recommended setting: 0
55 #define wxDIALOG_UNIT_COMPATIBILITY 0
57 // ----------------------------------------------------------------------------
59 // ----------------------------------------------------------------------------
61 // Generic comment about debugging settings: they are very useful if you don't
62 // use any other memory leak detection tools such as Purify/BoundsChecker, but
63 // are probably redundant otherwise. Also, Visual C++ CRT has the same features
64 // as wxWidgets memory debugging subsystem built in since version 5.0 and you
65 // may prefer to use it instead of built in memory debugging code because it is
66 // faster and more fool proof.
68 // Using VC++ CRT memory debugging is enabled by default in debug mode
69 // (__WXDEBUG__) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0)
70 // and if __NO_VC_CRTDBG__ is not defined.
72 // If 1, enables wxDebugContext, for writing error messages to file, etc. If
73 // __WXDEBUG__ is not defined, will still use the normal memory operators.
77 // Recommended setting: 0
78 #define wxUSE_DEBUG_CONTEXT 0
80 // If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
81 // __WXDEBUG__ is also defined.
83 // WARNING: this code may not work with all architectures, especially if
84 // alignment is an issue. This switch is currently ignored for mingw / cygwin
88 // Recommended setting: 1 if you are not using a memory debugging tool, else 0
89 #define wxUSE_MEMORY_TRACING 0
91 // In debug mode, cause new and delete to be redefined globally.
92 // If this causes problems (e.g. link errors which is a common problem
93 // especially if you use another library which also redefines the global new
94 // and delete), set this to 0.
95 // This switch is currently ignored for mingw / cygwin
99 // Recommended setting: 0
100 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
102 // In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If
103 // this causes problems (e.g. link errors), set this to 0. You may need to set
104 // this to 0 if using templates (at least for VC++). This switch is currently
105 // ignored for mingw / cygwin / CodeWarrior
109 // Recommended setting: 0
110 #define wxUSE_DEBUG_NEW_ALWAYS 0
112 // wxHandleFatalExceptions() may be used to catch the program faults at run
113 // time and, instead of terminating the program with a usual GPF message box,
114 // call the user-defined wxApp::OnFatalException() function. If you set
115 // wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work.
117 // This setting is for Win32 only and can only be enabled if your compiler
118 // supports Win32 structured exception handling (currently only VC++ does)
122 // Recommended setting: 1 if your compiler supports it.
123 #define wxUSE_ON_FATAL_EXCEPTION 1
125 // Set this to 1 to be able to generate a human-readable (unlike
126 // machine-readable minidump created by wxCrashReport::Generate()) stack back
127 // trace when your program crashes using wxStackWalker
129 // Default is 1 if supported by the compiler.
131 // Recommended setting: 1, set to 0 if your programs never crash
132 #define wxUSE_STACKWALKER 1
134 // Set this to 1 to compile in wxDebugReport class which allows you to create
135 // and optionally upload to your web site a debug report consisting of back
136 // trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
138 // Default is 1 if supported by the compiler.
140 // Recommended setting: 1, it is compiled into a separate library so there
141 // is no overhead if you don't use it
142 #define wxUSE_DEBUGREPORT 1
144 // ----------------------------------------------------------------------------
146 // ----------------------------------------------------------------------------
148 // Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be
149 // defined as wchar_t, wxString will use Unicode internally. If you set this
150 // to 1, you must use wxT() macro for all literal strings in the program.
152 // Unicode is currently only fully supported under Windows NT/2000/XP
153 // (Windows 9x doesn't support it and the programs compiled in Unicode mode
154 // will not run under 9x -- but see wxUSE_UNICODE_MSLU below).
156 // Default is 0 (but only because of makefiles)
158 // Recommended setting: 1
159 #ifndef wxUSE_UNICODE
160 #define wxUSE_UNICODE 0
163 // Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
164 // compiling the program in Unicode mode. More precisely, it will be possible
165 // to construct wxString from a wide (Unicode) string and convert any wxString
170 // Recommended setting: 1
171 #define wxUSE_WCHAR_T 1
173 // ----------------------------------------------------------------------------
175 // ----------------------------------------------------------------------------
177 // Compile library in exception-safe mode? If set to 1, the library will try to
178 // behave correctly in presence of exceptions (even though it still will not
179 // use the exceptions itself) and notify the user code about any unhandled
180 // exceptions. If set to 0, propagation of the exceptions through the library
181 // code will lead to undefined behaviour -- but the code itself will be
182 // slightly smaller and faster.
184 // Note that like wxUSE_THREADS this option is automatically set to 0 if
185 // wxNO_EXCEPTIONS is defined.
189 // Recommended setting: depends on whether you intend to use C++ exceptions
190 // in your own code (1 if you do, 0 if you don't)
191 #define wxUSE_EXCEPTIONS 1
193 // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
197 // Recommended setting: 0 (this is still work in progress...)
198 #define wxUSE_EXTENDED_RTTI 0
200 // Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from
201 // std::list<Foo*> and std::vector<Foo*>, with a compatibility interface,
202 // and for wxHashMap to be implemented with templates.
206 // Recommended setting: YMMV
209 // Support for message/error logging. This includes wxLogXXX() functions and
210 // wxLog and derived classes. Don't set this to 0 unless you really know what
215 // Recommended setting: 1 (always)
218 // Recommended setting: 1
219 #define wxUSE_LOGWINDOW 1
221 // Recommended setting: 1
222 #define wxUSE_LOGGUI 1
224 // Recommended setting: 1
225 #define wxUSE_LOG_DIALOG 1
227 // Support for command line parsing using wxCmdLineParser class.
231 // Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
232 #define wxUSE_CMDLINE_PARSER 1
234 // Support for multithreaded applications: if 1, compile in thread classes
235 // (thread.h) and make the library a bit more thread safe. Although thread
236 // support is quite stable by now, you may still consider recompiling the
237 // library without it if you have no use for it - this will result in a
238 // somewhat smaller and faster operation.
240 // Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
241 // to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
242 // build/msw/config.* file this value will have no effect.
246 // Recommended setting: 0 unless you do plan to develop MT applications
247 #define wxUSE_THREADS 1
249 // If enabled, compiles wxWidgets streams classes
251 // wx stream classes are used for image IO, process IO redirection, network
252 // protocols implementation and much more and so disabling this results in a
253 // lot of other functionality being lost.
257 // Recommended setting: 1 as setting it to 0 disables many other things
258 #define wxUSE_STREAMS 1
260 // Use standard C++ streams if 1 instead of wx streams in some places. If
261 // disabled (default), wx streams are used everywhere and wxWidgets doesn't
262 // depend on the standard streams library.
264 // Notice that enabling this does not replace wx streams with std streams
265 // everywhere, in a lot of places wx streams are used no matter what.
269 // Recommended setting: 1 if you use the standard streams anyhow and so
270 // dependency on the standard streams library is not a
272 #define wxUSE_STD_IOSTREAM 0
274 // Enable conversion to standard C++ string if 1.
276 // Default is 1 for most compilers.
278 // Currently the Digital Mars and Watcom compilers come without standard C++
279 // library headers by default, wxUSE_STD_STRING can be set to 1 if you do have
280 // them (e.g. from STLPort).
282 // VC++ 5.0 does include standard C++ library header, however they produce
283 // many warnings that can't be turned off when compiled at warning level 4.
284 #if defined(__DMC__) || defined(__WATCOMC__) \
285 || (defined(_MSC_VER) && _MSC_VER < 1200)
286 #define wxUSE_STD_STRING 0
288 #define wxUSE_STD_STRING 1
291 // Support for positional parameters (e.g. %1$d, %2$s ...) in wxVsnprintf.
292 // Note that if the system's implementation does not support positional
293 // parameters, setting this to 1 forces the use of the wxWidgets implementation
294 // of wxVsnprintf. The standard vsnprintf() supports positional parameters on
295 // many Unix systems but usually doesn't under Windows.
297 // Positional parameters are very useful when translating a program since using
298 // them in formatting strings allow translators to correctly reorder the
299 // translated sentences.
303 // Recommended setting: 1 if you want to support multiple languages
304 #define wxUSE_PRINTF_POS_PARAMS 1
306 // ----------------------------------------------------------------------------
307 // non GUI features selection
308 // ----------------------------------------------------------------------------
310 // Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit
311 // integer which is implemented in terms of native 64 bit integers if any or
312 // uses emulation otherwise.
314 // This class is required by wxDateTime and so you should enable it if you want
315 // to use wxDateTime. For most modern platforms, it will use the native 64 bit
316 // integers in which case (almost) all of its functions are inline and it
317 // almost does not take any space, so there should be no reason to switch it
320 // Recommended setting: 1
321 #define wxUSE_LONGLONG 1
323 // Set wxUSE_BASE64 to 1, to compile in Base64 support. This is required for
324 // storing binary data in wxConfig on most platforms.
328 // Recommended setting: 1 (but can be safely disabled if you don't use it)
329 #define wxUSE_BASE64 1
331 // Set this to 1 to be able to use wxEventLoop even in console applications
332 // (i.e. using base library only, without GUI). This is mostly useful for
333 // processing socket events but is also necessary to use timers in console
338 // Recommended setting: 1 (but can be safely disabled if you don't use it)
339 #define wxUSE_CONSOLE_EVENTLOOP 1
341 // Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level
342 // POSIX functions for file access, wxFFile uses ANSI C stdio.h functions.
346 // Recommended setting: 1 (wxFile is highly recommended as it is required by
347 // i18n code, wxFileConfig and others)
349 #define wxUSE_FFILE 1
351 // Use wxFSVolume class providing access to the configured/active mount points
355 // Recommended setting: 1 (but may be safely disabled if you don't use it)
356 #define wxUSE_FSVOLUME 1
358 // Use wxStandardPaths class which allows to retrieve some standard locations
359 // in the file system
363 // Recommended setting: 1 (may be disabled to save space, but not much)
364 #define wxUSE_STDPATHS 1
366 // use wxTextBuffer class: required by wxTextFile
367 #define wxUSE_TEXTBUFFER 1
369 // use wxTextFile class: requires wxFile and wxTextBuffer, required by
371 #define wxUSE_TEXTFILE 1
373 // i18n support: _() macro, wxLocale class. Requires wxTextFile.
376 // Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which
377 // allow to manipulate dates, times and time intervals. wxDateTime replaces the
378 // old wxTime and wxDate classes which are still provided for backwards
379 // compatibility (and implemented in terms of wxDateTime).
381 // Note that this class is relatively new and is still officially in alpha
382 // stage because some features are not yet (fully) implemented. It is already
383 // quite useful though and should only be disabled if you are aiming at
384 // absolutely minimal version of the library.
386 // Requires: wxUSE_LONGLONG
390 // Recommended setting: 1
391 #define wxUSE_DATETIME 1
393 // Set wxUSE_TIMER to 1 to compile wxTimer class
397 // Recommended setting: 1
398 #define wxUSE_TIMER 1
400 // Use wxStopWatch clas.
404 // Recommended setting: 1 (needed by wxSocket)
405 #define wxUSE_STOPWATCH 1
407 // Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
408 // which allow the application to store its settings in the persistent
409 // storage. Setting this to 1 will also enable on-demand creation of the
410 // global config object in wxApp.
412 // See also wxUSE_CONFIG_NATIVE below.
414 // Recommended setting: 1
415 #define wxUSE_CONFIG 1
417 // If wxUSE_CONFIG is 1, you may choose to use either the native config
418 // classes under Windows (using .INI files under Win16 and the registry under
419 // Win32) or the portable text file format used by the config classes under
422 // Default is 1 to use native classes. Note that you may still use
423 // wxFileConfig even if you set this to 1 - just the config object created by
424 // default for the applications needs will be a wxRegConfig or wxIniConfig and
427 // Recommended setting: 1
428 #define wxUSE_CONFIG_NATIVE 1
430 // If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows
431 // to connect/disconnect from the network and be notified whenever the dial-up
432 // network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER.
436 // Recommended setting: 1
437 #define wxUSE_DIALUP_MANAGER 1
439 // Compile in classes for run-time DLL loading and function calling.
440 // Required by wxUSE_DIALUP_MANAGER.
442 // This setting is for Win32 only
446 // Recommended setting: 1
447 #define wxUSE_DYNLIB_CLASS 1
449 // experimental, don't use for now
450 #define wxUSE_DYNAMIC_LOADER 1
452 // Set to 1 to use socket classes
453 #define wxUSE_SOCKETS 1
455 // Set to 1 to enable virtual file systems (required by wxHTML)
456 #define wxUSE_FILESYSTEM 1
458 // Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
459 #define wxUSE_FS_ZIP 1
461 // Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
462 #define wxUSE_FS_ARCHIVE 1
464 // Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
465 #define wxUSE_FS_INET 1
467 // wxArchive classes for accessing archives such as zip and tar
468 #define wxUSE_ARCHIVE_STREAMS 1
470 // Set to 1 to compile wxZipInput/OutputStream classes.
471 #define wxUSE_ZIPSTREAM 1
473 // Set to 1 to compile wxTarInput/OutputStream classes.
474 #define wxUSE_TARSTREAM 1
476 // Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
480 // If enabled, the code written by Apple will be used to write, in a portable
481 // way, float on the disk. See extended.c for the license which is different
482 // from wxWidgets one.
486 // Recommended setting: 1 unless you don't like the license terms (unlikely)
487 #define wxUSE_APPLE_IEEE 1
489 // Joystick support class
490 #define wxUSE_JOYSTICK 1
492 // wxFontEnumerator class
493 #define wxUSE_FONTENUM 1
495 // wxFontMapper class
496 #define wxUSE_FONTMAP 1
498 // wxMimeTypesManager class
499 #define wxUSE_MIMETYPE 1
501 // wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
502 // or wxURL you need to set this to 1.
506 // Recommended setting: 1
507 #define wxUSE_PROTOCOL 1
509 // The settings for the individual URL schemes
510 #define wxUSE_PROTOCOL_FILE 1
511 #define wxUSE_PROTOCOL_FTP 1
512 #define wxUSE_PROTOCOL_HTTP 1
514 // Define this to use wxURL class.
517 // Define this to use native platform url and protocol support.
518 // Currently valid only for MS-Windows.
519 // Note: if you set this to 1, you can open ftp/http/gopher sites
520 // and obtain a valid input stream for these sites
521 // even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.
522 // Doing so reduces the code size.
524 // This code is experimental and subject to change.
525 #define wxUSE_URL_NATIVE 0
527 // Support for wxVariant class used in several places throughout the library,
528 // notably in wxDataViewCtrl API.
532 // Recommended setting: 1 unless you want to reduce the library size as much as
533 // possible in which case setting this to 0 can gain up to 100KB.
534 #define wxUSE_VARIANT 1
536 // Support for regular expression matching via wxRegEx class: enable this to
537 // use POSIX regular expressions in your code. You need to compile regex
538 // library from src/regex to use it under Windows.
542 // Recommended setting: 1 if your compiler supports it, if it doesn't please
543 // contribute us a makefile for src/regex for it
544 #define wxUSE_REGEX 1
546 // wxSystemOptions class
547 #define wxUSE_SYSTEM_OPTIONS 1
550 #define wxUSE_SOUND 1
556 // Recommended setting: 1
557 #define wxUSE_MEDIACTRL 1
559 // Use GStreamer for Unix (req a lot of dependancies)
563 // Recommended setting: 1 (wxMediaCtrl won't work by default without it)
564 #define wxUSE_GSTREAMER 0
566 // Use wxWidget's XRC XML-based resource system. Recommended.
570 // Recommended setting: 1 (requires wxUSE_XML)
573 // XML parsing classes. Note that their API will change in the future, so
574 // using wxXmlDocument and wxXmlNode in your app is not recommended.
576 // Default is the same as wxUSE_XRC, i.e. 1 by default.
578 // Recommended setting: 1 (required by XRC)
579 #define wxUSE_XML wxUSE_XRC
581 // Use wxWidget's AUI docking system
585 // Recommended setting: 1
588 // Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla.
592 // Recommended setting: 1
596 // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
597 // 2D drawing API. (Still somewhat experimental)
599 // Please note that on Windows you will need to link with gdiplus.lib (use
600 // USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your
601 // application if you want it to be runnable on pre-XP systems.
605 // Recommended setting: 1
606 #ifndef wxUSE_GRAPHICS_CONTEXT
607 #define wxUSE_GRAPHICS_CONTEXT 0
610 // ----------------------------------------------------------------------------
611 // Individual GUI controls
612 // ----------------------------------------------------------------------------
614 // You must set wxUSE_CONTROLS to 1 if you are using any controls at all
615 // (without it, wxControl class is not compiled)
619 // Recommended setting: 1 (don't change except for very special programs)
620 #define wxUSE_CONTROLS 1
622 // wxPopupWindow class is a top level transient window. It is currently used
623 // to implement wxTipWindow
627 // Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
628 #define wxUSE_POPUPWIN 1
630 // wxTipWindow allows to implement the custom tooltips, it is used by the
631 // context help classes. Requires wxUSE_POPUPWIN.
635 // Recommended setting: 1 (may be set to 0)
636 #define wxUSE_TIPWINDOW 1
638 // Each of the settings below corresponds to one wxWidgets control. They are
639 // all switched on by default but may be disabled if you are sure that your
640 // program (including any standard dialogs it can show!) doesn't need them and
641 // if you desperately want to save some space. If you use any of these you must
642 // set wxUSE_CONTROLS as well.
646 // Recommended setting: 1
647 #define wxUSE_ANIMATIONCTRL 1 // wxAnimationCtrl
648 #define wxUSE_BUTTON 1 // wxButton
649 #define wxUSE_BMPBUTTON 1 // wxBitmapButton
650 #define wxUSE_CALENDARCTRL 1 // wxCalendarCtrl
651 #define wxUSE_CHECKBOX 1 // wxCheckBox
652 #define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
653 #define wxUSE_CHOICE 1 // wxChoice
654 #define wxUSE_COLLPANE 1 // wxCollapsiblePane
655 #define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
656 #define wxUSE_COMBOBOX 1 // wxComboBox
657 #define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
658 #define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
659 #define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
660 #define wxUSE_EDITABLELISTBOX 1 // wxEditableListBox
661 #define wxUSE_FILECTRL 1 // wxFileCtrl
662 #define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
663 #define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
664 #define wxUSE_GAUGE 1 // wxGauge
665 #define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
666 #define wxUSE_LISTBOX 1 // wxListBox
667 #define wxUSE_LISTCTRL 1 // wxListCtrl
668 #define wxUSE_RADIOBOX 1 // wxRadioBox
669 #define wxUSE_RADIOBTN 1 // wxRadioButton
670 #define wxUSE_SCROLLBAR 1 // wxScrollBar
671 #define wxUSE_SEARCHCTRL 1 // wxSearchCtrl
672 #define wxUSE_SLIDER 1 // wxSlider
673 #define wxUSE_SPINBTN 1 // wxSpinButton
674 #define wxUSE_SPINCTRL 1 // wxSpinCtrl
675 #define wxUSE_STATBOX 1 // wxStaticBox
676 #define wxUSE_STATLINE 1 // wxStaticLine
677 #define wxUSE_STATTEXT 1 // wxStaticText
678 #define wxUSE_STATBMP 1 // wxStaticBitmap
679 #define wxUSE_TEXTCTRL 1 // wxTextCtrl
680 #define wxUSE_TOGGLEBTN 1 // requires wxButton
681 #define wxUSE_TREECTRL 1 // wxTreeCtrl
683 // Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR
684 // below either wxStatusBar95 or a generic wxStatusBar will be used.
688 // Recommended setting: 1
689 #define wxUSE_STATUSBAR 1
691 // Two status bar implementations are available under Win32: the generic one
692 // or the wrapper around native control. For native look and feel the native
693 // version should be used.
695 // Default is 1 for the platforms where native status bar is supported.
697 // Recommended setting: 1 (there is no advantage in using the generic one)
698 #define wxUSE_NATIVE_STATUSBAR 1
700 // wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
701 // classes at all. Otherwise, use the native toolbar class unless
702 // wxUSE_TOOLBAR_NATIVE is 0.
704 // Default is 1 for all settings.
706 // Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
707 #define wxUSE_TOOLBAR 1
708 #define wxUSE_TOOLBAR_NATIVE 1
710 // wxNotebook is a control with several "tabs" located on one of its sides. It
711 // may be used to logically organise the data presented to the user instead of
712 // putting everything in one huge dialog. It replaces wxTabControl and related
713 // classes of wxWin 1.6x.
717 // Recommended setting: 1
718 #define wxUSE_NOTEBOOK 1
720 // wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
725 // Recommended setting: 1
726 #define wxUSE_LISTBOOK 1
728 // wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
733 // Recommended setting: 1
734 #define wxUSE_CHOICEBOOK 1
736 // wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
741 // Recommended setting: 1
742 #define wxUSE_TREEBOOK 1
744 // wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
749 // Recommended setting: 1
750 #define wxUSE_TOOLBOOK 1
752 // wxTabDialog is a generic version of wxNotebook but it is incompatible with
753 // the new class. It shouldn't be used in new code.
757 // Recommended setting: 0 (use wxNotebook)
758 #define wxUSE_TAB_DIALOG 0
760 // wxTaskBarIcon is a small notification icon shown in the system toolbar or
765 // Recommended setting: 1 (but can be set to 0 if you don't need it)
766 #define wxUSE_TASKBARICON 1
770 // Default is 1, set to 0 to cut down compilation time and binaries size if you
773 // Recommended setting: 1
777 // wxMiniFrame class: a frame with narrow title bar
781 // Recommended setting: 1 (it doesn't cost almost anything)
782 #define wxUSE_MINIFRAME 1
784 // wxComboCtrl and related classes: combobox with custom popup window and
785 // not necessarily a listbox.
789 // Recommended setting: 1 but can be safely set to 0 except for wxUniv where it
790 // it used by wxComboBox
791 #define wxUSE_COMBOCTRL 1
793 // wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
798 // Recommended setting: 1 but can be safely set to 0, except where it is
799 // needed as a base class for generic wxBitmapComboBox.
800 #define wxUSE_ODCOMBOBOX 1
802 // wxBitmapComboBox is a combobox that can have images in front of text items.
806 // Recommended setting: 1 but can be safely set to 0
807 #define wxUSE_BITMAPCOMBOBOX 1
809 // ----------------------------------------------------------------------------
810 // Miscellaneous GUI stuff
811 // ----------------------------------------------------------------------------
813 // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
814 #define wxUSE_ACCEL 1
816 // Hotkey support (currently Windows only)
817 #define wxUSE_HOTKEY 1
819 // Use wxCaret: a class implementing a "cursor" in a text control (called caret
824 // Recommended setting: 1 (can be safely set to 0, not used by the library)
825 #define wxUSE_CARET 1
827 // Use wxDisplay class: it allows enumerating all displays on a system and
828 // their geometries as well as finding the display on which the given point or
833 // Recommended setting: 1 if you need it, can be safely set to 0 otherwise
834 #define wxUSE_DISPLAY 1
836 // Miscellaneous geometry code: needed for Canvas library
837 #define wxUSE_GEOMETRY 1
839 // Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
844 // Recommended setting: 1 (set it to 0 if you don't use any of the controls
845 // enumerated above, then this class is mostly useless too)
846 #define wxUSE_IMAGLIST 1
848 // Use wxMenu, wxMenuBar, wxMenuItem.
852 // Recommended setting: 1 (can't be disabled under MSW)
853 #define wxUSE_MENUS 1
855 // Use wxSashWindow class.
859 // Recommended setting: 1
862 // Use wxSplitterWindow class.
866 // Recommended setting: 1
867 #define wxUSE_SPLITTER 1
869 // Use wxToolTip and wxWindow::Set/GetToolTip() methods.
873 // Recommended setting: 1
874 #define wxUSE_TOOLTIPS 1
876 // wxValidator class and related methods
877 #define wxUSE_VALIDATORS 1
879 // ----------------------------------------------------------------------------
881 // ----------------------------------------------------------------------------
883 // On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g.
884 // file selector, printer dialog). Switching this off also switches off the
885 // printing architecture and interactive wxPrinterDC.
889 // Recommended setting: 1 (unless it really doesn't work)
890 #define wxUSE_COMMON_DIALOGS 1
892 // wxBusyInfo displays window with message when app is busy. Works in same way
894 #define wxUSE_BUSYINFO 1
896 // Use single/multiple choice dialogs.
900 // Recommended setting: 1 (used in the library itself)
901 #define wxUSE_CHOICEDLG 1
903 // Use colour picker dialog
907 // Recommended setting: 1
908 #define wxUSE_COLOURDLG 1
910 // wxDirDlg class for getting a directory name from user
911 #define wxUSE_DIRDLG 1
913 // TODO: setting to choose the generic or native one
915 // Use file open/save dialogs.
919 // Recommended setting: 1 (used in many places in the library itself)
920 #define wxUSE_FILEDLG 1
922 // Use find/replace dialogs.
926 // Recommended setting: 1 (but may be safely set to 0)
927 #define wxUSE_FINDREPLDLG 1
929 // Use font picker dialog
933 // Recommended setting: 1 (used in the library itself)
934 #define wxUSE_FONTDLG 1
936 // Use wxMessageDialog and wxMessageBox.
940 // Recommended setting: 1 (used in the library itself)
941 #define wxUSE_MSGDLG 1
943 // progress dialog class for lengthy operations
944 #define wxUSE_PROGRESSDLG 1
946 // support for startup tips (wxShowTip &c)
947 #define wxUSE_STARTUP_TIPS 1
949 // text entry dialog and wxGetTextFromUser function
950 #define wxUSE_TEXTDLG 1
952 // number entry dialog
953 #define wxUSE_NUMBERDLG 1
955 // splash screen class
956 #define wxUSE_SPLASH 1
959 #define wxUSE_WIZARDDLG 1
961 // Compile in wxAboutBox() function showing the standard "About" dialog.
965 // Recommended setting: 1 but can be set to 0 to save some space if you don't
967 #define wxUSE_ABOUTDLG 1
969 // ----------------------------------------------------------------------------
971 // ----------------------------------------------------------------------------
973 // Windows supports the graphics format known as metafile which is, though not
974 // portable, is widely used under Windows and so is supported by wxWin (under
975 // Windows only, of course). Win16 (Win3.1) used the so-called "Window
976 // MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
977 // Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
978 // default, WMFs will be used under Win16 and EMFs under Win32. This may be
979 // changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
980 // wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
981 // in any metafile related classes at all.
983 // Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
985 // Recommended setting: default or 0 for everything for portable programs.
986 #define wxUSE_METAFILE 1
987 #define wxUSE_ENH_METAFILE 1
988 #define wxUSE_WIN_METAFILES_ALWAYS 0
990 // ----------------------------------------------------------------------------
991 // Big GUI components
992 // ----------------------------------------------------------------------------
994 // Set to 0 to disable MDI support.
996 // Requires wxUSE_NOTEBOOK under platforms other than MSW.
1000 // Recommended setting: 1, can be safely set to 0.
1003 // Set to 0 to disable document/view architecture
1004 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
1006 // Set to 0 to disable MDI document/view architecture
1008 // Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
1009 #define wxUSE_MDI_ARCHITECTURE 1
1011 // Set to 0 to disable print/preview architecture code
1012 #define wxUSE_PRINTING_ARCHITECTURE 1
1014 // wxHTML sublibrary allows to display HTML in wxWindow programs and much,
1019 // Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
1021 #define wxUSE_HTML 1
1023 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL
1024 // headers and libraries to be able to compile the library with wxUSE_GLCANVAS
1025 // set to 1. Note that for some compilers (notably Microsoft Visual C++) you
1026 // will need to manually add opengl32.lib and glu32.lib to the list of
1027 // libraries linked with your program if you use OpenGL.
1031 // Recommended setting: 1 if you intend to use OpenGL, 0 otherwise
1032 #define wxUSE_GLCANVAS 0
1034 // wxRichTextCtrl allows editing of styled text.
1038 // Recommended setting: 1, set to 0 if you want compile a
1040 #define wxUSE_RICHTEXT 1
1042 // ----------------------------------------------------------------------------
1044 // ----------------------------------------------------------------------------
1046 // Use wxClipboard class for clipboard copy/paste.
1050 // Recommended setting: 1
1051 #define wxUSE_CLIPBOARD 1
1053 // Use wxDataObject and related classes. Needed for clipboard and OLE drag and
1058 // Recommended setting: 1
1059 #define wxUSE_DATAOBJ 1
1061 // Use wxDropTarget and wxDropSource classes for drag and drop (this is
1062 // different from "built in" drag and drop in wxTreeCtrl which is always
1063 // available). Requires wxUSE_DATAOBJ.
1067 // Recommended setting: 1
1068 #define wxUSE_DRAG_AND_DROP 1
1070 // Use wxAccessible for enhanced and customisable accessibility.
1071 // Depends on wxUSE_OLE.
1075 // Recommended setting (at present): 0
1076 #define wxUSE_ACCESSIBILITY 0
1078 // ----------------------------------------------------------------------------
1079 // miscellaneous settings
1080 // ----------------------------------------------------------------------------
1082 // wxSingleInstanceChecker class allows to verify at startup if another program
1083 // instance is running (it is only available under Win32)
1087 // Recommended setting: 1 (the class is tiny, disabling it won't save much
1089 #define wxUSE_SNGLINST_CHECKER 1
1091 #define wxUSE_DRAGIMAGE 1
1094 // 0 for no interprocess comms
1095 #define wxUSE_HELP 1
1096 // 0 for no help facility
1098 // Should we use MS HTML help for wxHelpController? If disabled, neither
1099 // wxCHMHelpController nor wxBestHelpController are available.
1101 // Default is 1 under MSW, 0 is always used for the other platforms.
1103 // Recommended setting: 1, only set to 0 if you have trouble compiling
1104 // wxCHMHelpController (could be a problem with really ancient compilers)
1105 #define wxUSE_MS_HTML_HELP 1
1108 // Use wxHTML-based help controller?
1109 #define wxUSE_WXHTML_HELP 1
1111 #define wxUSE_CONSTRAINTS 1
1112 // 0 for no window layout constraint system
1114 #define wxUSE_SPLINES 1
1117 #define wxUSE_MOUSEWHEEL 1
1118 // Include mouse wheel support
1120 // ----------------------------------------------------------------------------
1121 // wxDC classes for various output formats
1122 // ----------------------------------------------------------------------------
1124 // Set to 1 for PostScript device context.
1125 #define wxUSE_POSTSCRIPT 0
1127 // Set to 1 to use font metric files in GetTextExtent
1128 #define wxUSE_AFM_FOR_POSTSCRIPT 1
1130 // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
1131 // to create fiels in SVG (Scalable Vector Graphics) format.
1134 // ----------------------------------------------------------------------------
1136 // ----------------------------------------------------------------------------
1138 // Define 1 to use ODBC classes
1139 #define wxUSE_ODBC 0
1141 // For backward compatibility reasons, this parameter now only controls the
1142 // default scrolling method used by cursors. This default behavior can be
1143 // overriden by setting the second param of wxDB::wxDbGetConnection() or
1144 // wxDb() constructor to indicate whether the connection (and any wxDbTable()s
1145 // that use the connection) should support forward only scrolling of cursors,
1146 // or both forward and backward support for backward scrolling cursors is
1147 // dependent on the data source as well as the ODBC driver being used.
1148 #define wxODBC_FWD_ONLY_CURSORS 1
1150 // Default is 0. Set to 1 to use the deprecated classes, enum types, function,
1151 // member variables. With a setting of 1, full backward compatibility with the
1152 // 2.0.x release is possible. It is STRONGLY recommended that this be set to 0,
1153 // as future development will be done only on the non-deprecated
1154 // functions/classes/member variables/etc.
1155 #define wxODBC_BACKWARD_COMPATABILITY 0
1157 // ----------------------------------------------------------------------------
1158 // other compiler (mis)features
1159 // ----------------------------------------------------------------------------
1161 // Set this to 0 if your compiler can't cope with omission of prototype
1166 // Recommended setting: 1 (should never need to set this to 0)
1167 #define REMOVE_UNUSED_ARG 1
1169 // VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
1170 // them. Set to 1 for <iostream.h>, 0 for <iostream>. Note that VC++ 7.1
1171 // and later doesn't support wxUSE_IOSTREAMH == 1 and so <iostream> will be
1176 // Recommended setting: whatever your compiler likes more
1177 #define wxUSE_IOSTREAMH 1
1179 // ----------------------------------------------------------------------------
1180 // image format support
1181 // ----------------------------------------------------------------------------
1183 // wxImage supports many different image formats which can be configured at
1184 // compile-time. BMP is always supported, others are optional and can be safely
1185 // disabled if you don't plan to use images in such format sometimes saving
1186 // substantial amount of code in the final library.
1188 // Some formats require an extra library which is included in wxWin sources
1189 // which is mentioned if it is the case.
1191 // Set to 1 for wxImage support (recommended).
1192 #define wxUSE_IMAGE 1
1194 // Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
1195 #define wxUSE_LIBPNG 1
1197 // Set to 1 for JPEG format support (requires libjpeg)
1198 #define wxUSE_LIBJPEG 1
1200 // Set to 1 for TIFF format support (requires libtiff)
1201 #define wxUSE_LIBTIFF 1
1203 // Set to 1 for TGA format support (loading only)
1206 // Set to 1 for GIF format support
1209 // Set to 1 for PNM format support
1212 // Set to 1 for PCX format support
1215 // Set to 1 for IFF format support (Amiga format)
1218 // Set to 1 for XPM format support
1221 // Set to 1 for MS Icons and Cursors format support
1222 #define wxUSE_ICO_CUR 1
1224 // Set to 1 to compile in wxPalette class
1225 #define wxUSE_PALETTE 1
1227 // ----------------------------------------------------------------------------
1228 // wxUniversal-only options
1229 // ----------------------------------------------------------------------------
1231 // Set to 1 to enable compilation of all themes, this is the default
1232 #define wxUSE_ALL_THEMES 1
1234 // Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
1235 // is unset, if it is set these options are not used; notice that metal theme
1237 #define wxUSE_THEME_GTK 0
1238 #define wxUSE_THEME_METAL 0
1239 #define wxUSE_THEME_MONO 0
1240 #define wxUSE_THEME_WIN32 0
1243 // ----------------------------------------------------------------------------
1245 // ----------------------------------------------------------------------------
1247 // define this to 0 when building wxBase library - this can also be done from
1248 // makefile/project file overriding the value here
1253 // ----------------------------------------------------------------------------
1254 // compatibility settings
1255 // ----------------------------------------------------------------------------
1257 // This setting determines the compatibility with 2.6 API: set it to 0 to
1258 // flag all cases of using deprecated functions.
1260 // Default is 1 but please try building your code with 0 as the default will
1261 // change to 0 in the next version and the deprecated functions will disappear
1262 // in the version after it completely.
1264 // Recommended setting: 0 (please update your code)
1265 #define WXWIN_COMPATIBILITY_2_6 0
1267 // This setting determines the compatibility with 2.8 API: set it to 0 to
1268 // flag all cases of using deprecated functions.
1270 // Default is 1 but please try building your code with 0 as the default will
1271 // change to 0 in the next version and the deprecated functions will disappear
1272 // in the version after it completely.
1274 // Recommended setting: 0 (please update your code)
1275 #define WXWIN_COMPATIBILITY_2_8 1
1277 // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
1278 // default system font is used for wxWindow::GetCharWidth/Height() instead of
1279 // the current font.
1283 // Recommended setting: 0
1284 #define wxDIALOG_UNIT_COMPATIBILITY 0
1286 // ----------------------------------------------------------------------------
1287 // debugging settings
1288 // ----------------------------------------------------------------------------
1290 // Generic comment about debugging settings: they are very useful if you don't
1291 // use any other memory leak detection tools such as Purify/BoundsChecker, but
1292 // are probably redundant otherwise. Also, Visual C++ CRT has the same features
1293 // as wxWidgets memory debugging subsystem built in since version 5.0 and you
1294 // may prefer to use it instead of built in memory debugging code because it is
1295 // faster and more fool proof.
1297 // Using VC++ CRT memory debugging is enabled by default in debug mode
1298 // (__WXDEBUG__) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0)
1299 // and if __NO_VC_CRTDBG__ is not defined.
1301 // If 1, enables wxDebugContext, for writing error messages to file, etc. If
1302 // __WXDEBUG__ is not defined, will still use the normal memory operators.
1306 // Recommended setting: 0
1307 #define wxUSE_DEBUG_CONTEXT 0
1309 // If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
1310 // __WXDEBUG__ is also defined.
1312 // WARNING: this code may not work with all architectures, especially if
1313 // alignment is an issue. This switch is currently ignored for mingw / cygwin
1317 // Recommended setting: 1 if you are not using a memory debugging tool, else 0
1318 #define wxUSE_MEMORY_TRACING 0
1320 // In debug mode, cause new and delete to be redefined globally.
1321 // If this causes problems (e.g. link errors which is a common problem
1322 // especially if you use another library which also redefines the global new
1323 // and delete), set this to 0.
1324 // This switch is currently ignored for mingw / cygwin
1328 // Recommended setting: 0
1329 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
1331 // In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If
1332 // this causes problems (e.g. link errors), set this to 0. You may need to set
1333 // this to 0 if using templates (at least for VC++). This switch is currently
1334 // ignored for mingw / cygwin / CodeWarrior
1338 // Recommended setting: 0
1339 #define wxUSE_DEBUG_NEW_ALWAYS 0
1341 // wxHandleFatalExceptions() may be used to catch the program faults at run
1342 // time and, instead of terminating the program with a usual GPF message box,
1343 // call the user-defined wxApp::OnFatalException() function. If you set
1344 // wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work.
1346 // This setting is for Win32 only and can only be enabled if your compiler
1347 // supports Win32 structured exception handling (currently only VC++ does)
1351 // Recommended setting: 1 if your compiler supports it.
1352 #define wxUSE_ON_FATAL_EXCEPTION 1
1354 // Set this to 1 to be able to generate a human-readable (unlike
1355 // machine-readable minidump created by wxCrashReport::Generate()) stack back
1356 // trace when your program crashes using wxStackWalker
1358 // Default is 1 if supported by the compiler.
1360 // Recommended setting: 1, set to 0 if your programs never crash
1361 #define wxUSE_STACKWALKER 1
1363 // Set this to 1 to compile in wxDebugReport class which allows you to create
1364 // and optionally upload to your web site a debug report consisting of back
1365 // trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
1367 // Default is 1 if supported by the compiler.
1369 // Recommended setting: 1, it is compiled into a separate library so there
1370 // is no overhead if you don't use it
1371 #define wxUSE_DEBUGREPORT 1
1373 // ----------------------------------------------------------------------------
1375 // ----------------------------------------------------------------------------
1377 // Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be
1378 // defined as wchar_t, wxString will use Unicode internally. If you set this
1379 // to 1, you must use wxT() macro for all literal strings in the program.
1381 // Unicode is currently only fully supported under Windows NT/2000/XP
1382 // (Windows 9x doesn't support it and the programs compiled in Unicode mode
1383 // will not run under 9x -- but see wxUSE_UNICODE_MSLU below).
1385 // Default is 0 (but only because of makefiles)
1387 // Recommended setting: 1
1388 #ifndef wxUSE_UNICODE
1389 #define wxUSE_UNICODE 0
1392 // Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
1393 // compiling the program in Unicode mode. More precisely, it will be possible
1394 // to construct wxString from a wide (Unicode) string and convert any wxString
1399 // Recommended setting: 1
1400 #define wxUSE_WCHAR_T 1
1402 // ----------------------------------------------------------------------------
1404 // ----------------------------------------------------------------------------
1406 // Compile library in exception-safe mode? If set to 1, the library will try to
1407 // behave correctly in presence of exceptions (even though it still will not
1408 // use the exceptions itself) and notify the user code about any unhandled
1409 // exceptions. If set to 0, propagation of the exceptions through the library
1410 // code will lead to undefined behaviour -- but the code itself will be
1411 // slightly smaller and faster.
1413 // Note that like wxUSE_THREADS this option is automatically set to 0 if
1414 // wxNO_EXCEPTIONS is defined.
1418 // Recommended setting: depends on whether you intend to use C++ exceptions
1419 // in your own code (1 if you do, 0 if you don't)
1420 #define wxUSE_EXCEPTIONS 1
1422 // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
1426 // Recommended setting: 0 (this is still work in progress...)
1427 #define wxUSE_EXTENDED_RTTI 0
1429 // Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from
1430 // std::list<Foo*> and std::vector<Foo*>, with a compatibility interface,
1431 // and for wxHashMap to be implemented with templates.
1435 // Recommended setting: YMMV
1438 // Support for message/error logging. This includes wxLogXXX() functions and
1439 // wxLog and derived classes. Don't set this to 0 unless you really know what
1444 // Recommended setting: 1 (always)
1447 // Recommended setting: 1
1448 #define wxUSE_LOGWINDOW 1
1450 // Recommended setting: 1
1451 #define wxUSE_LOGGUI 1
1453 // Recommended setting: 1
1454 #define wxUSE_LOG_DIALOG 1
1456 // Support for command line parsing using wxCmdLineParser class.
1460 // Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
1461 #define wxUSE_CMDLINE_PARSER 1
1463 // Support for multithreaded applications: if 1, compile in thread classes
1464 // (thread.h) and make the library a bit more thread safe. Although thread
1465 // support is quite stable by now, you may still consider recompiling the
1466 // library without it if you have no use for it - this will result in a
1467 // somewhat smaller and faster operation.
1469 // Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
1470 // to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
1471 // build/msw/config.* file this value will have no effect.
1475 // Recommended setting: 0 unless you do plan to develop MT applications
1476 #define wxUSE_THREADS 1
1478 // If enabled, compiles wxWidgets streams classes
1480 // wx stream classes are used for image IO, process IO redirection, network
1481 // protocols implementation and much more and so disabling this results in a
1482 // lot of other functionality being lost.
1486 // Recommended setting: 1 as setting it to 0 disables many other things
1487 #define wxUSE_STREAMS 1
1489 // Use standard C++ streams if 1 instead of wx streams in some places. If
1490 // disabled (default), wx streams are used everywhere and wxWidgets doesn't
1491 // depend on the standard streams library.
1493 // Notice that enabling this does not replace wx streams with std streams
1494 // everywhere, in a lot of places wx streams are used no matter what.
1498 // Recommended setting: 1 if you use the standard streams anyhow and so
1499 // dependency on the standard streams library is not a
1501 #define wxUSE_STD_IOSTREAM 0
1503 // Enable conversion to standard C++ string if 1.
1505 // Default is 1 for most compilers.
1507 // Currently the Digital Mars and Watcom compilers come without standard C++
1508 // library headers by default, wxUSE_STD_STRING can be set to 1 if you do have
1509 // them (e.g. from STLPort).
1511 // VC++ 5.0 does include standard C++ library header, however they produce
1512 // many warnings that can't be turned off when compiled at warning level 4.
1513 #if defined(__DMC__) || defined(__WATCOMC__) \
1514 || (defined(_MSC_VER) && _MSC_VER < 1200)
1515 #define wxUSE_STD_STRING 0
1517 #define wxUSE_STD_STRING 1
1520 // Support for positional parameters (e.g. %1$d, %2$s ...) in wxVsnprintf.
1521 // Note that if the system's implementation does not support positional
1522 // parameters, setting this to 1 forces the use of the wxWidgets implementation
1523 // of wxVsnprintf. The standard vsnprintf() supports positional parameters on
1524 // many Unix systems but usually doesn't under Windows.
1526 // Positional parameters are very useful when translating a program since using
1527 // them in formatting strings allow translators to correctly reorder the
1528 // translated sentences.
1532 // Recommended setting: 1 if you want to support multiple languages
1533 #define wxUSE_PRINTF_POS_PARAMS 1
1535 // ----------------------------------------------------------------------------
1536 // non GUI features selection
1537 // ----------------------------------------------------------------------------
1539 // Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit
1540 // integer which is implemented in terms of native 64 bit integers if any or
1541 // uses emulation otherwise.
1543 // This class is required by wxDateTime and so you should enable it if you want
1544 // to use wxDateTime. For most modern platforms, it will use the native 64 bit
1545 // integers in which case (almost) all of its functions are inline and it
1546 // almost does not take any space, so there should be no reason to switch it
1549 // Recommended setting: 1
1550 #define wxUSE_LONGLONG 1
1552 // Set wxUSE_BASE64 to 1, to compile in Base64 support. This is required for
1553 // storing binary data in wxConfig on most platforms.
1557 // Recommended setting: 1 (but can be safely disabled if you don't use it)
1558 #define wxUSE_BASE64 1
1560 // Set this to 1 to be able to use wxEventLoop even in console applications
1561 // (i.e. using base library only, without GUI). This is mostly useful for
1562 // processing socket events but is also necessary to use timers in console
1567 // Recommended setting: 1 (but can be safely disabled if you don't use it)
1568 #define wxUSE_CONSOLE_EVENTLOOP 1
1570 // Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level
1571 // POSIX functions for file access, wxFFile uses ANSI C stdio.h functions.
1575 // Recommended setting: 1 (wxFile is highly recommended as it is required by
1576 // i18n code, wxFileConfig and others)
1577 #define wxUSE_FILE 1
1578 #define wxUSE_FFILE 1
1580 // Use wxFSVolume class providing access to the configured/active mount points
1584 // Recommended setting: 1 (but may be safely disabled if you don't use it)
1585 #define wxUSE_FSVOLUME 1
1587 // Use wxStandardPaths class which allows to retrieve some standard locations
1588 // in the file system
1592 // Recommended setting: 1 (may be disabled to save space, but not much)
1593 #define wxUSE_STDPATHS 1
1595 // use wxTextBuffer class: required by wxTextFile
1596 #define wxUSE_TEXTBUFFER 1
1598 // use wxTextFile class: requires wxFile and wxTextBuffer, required by
1600 #define wxUSE_TEXTFILE 1
1602 // i18n support: _() macro, wxLocale class. Requires wxTextFile.
1603 #define wxUSE_INTL 1
1605 // Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which
1606 // allow to manipulate dates, times and time intervals. wxDateTime replaces the
1607 // old wxTime and wxDate classes which are still provided for backwards
1608 // compatibility (and implemented in terms of wxDateTime).
1610 // Note that this class is relatively new and is still officially in alpha
1611 // stage because some features are not yet (fully) implemented. It is already
1612 // quite useful though and should only be disabled if you are aiming at
1613 // absolutely minimal version of the library.
1615 // Requires: wxUSE_LONGLONG
1619 // Recommended setting: 1
1620 #define wxUSE_DATETIME 1
1622 // Set wxUSE_TIMER to 1 to compile wxTimer class
1626 // Recommended setting: 1
1627 #define wxUSE_TIMER 1
1629 // Use wxStopWatch clas.
1633 // Recommended setting: 1 (needed by wxSocket)
1634 #define wxUSE_STOPWATCH 1
1636 // Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
1637 // which allow the application to store its settings in the persistent
1638 // storage. Setting this to 1 will also enable on-demand creation of the
1639 // global config object in wxApp.
1641 // See also wxUSE_CONFIG_NATIVE below.
1643 // Recommended setting: 1
1644 #define wxUSE_CONFIG 1
1646 // If wxUSE_CONFIG is 1, you may choose to use either the native config
1647 // classes under Windows (using .INI files under Win16 and the registry under
1648 // Win32) or the portable text file format used by the config classes under
1651 // Default is 1 to use native classes. Note that you may still use
1652 // wxFileConfig even if you set this to 1 - just the config object created by
1653 // default for the applications needs will be a wxRegConfig or wxIniConfig and
1654 // not wxFileConfig.
1656 // Recommended setting: 1
1657 #define wxUSE_CONFIG_NATIVE 1
1659 // If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows
1660 // to connect/disconnect from the network and be notified whenever the dial-up
1661 // network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER.
1665 // Recommended setting: 1
1666 #define wxUSE_DIALUP_MANAGER 1
1668 // Compile in classes for run-time DLL loading and function calling.
1669 // Required by wxUSE_DIALUP_MANAGER.
1671 // This setting is for Win32 only
1675 // Recommended setting: 1
1676 #define wxUSE_DYNLIB_CLASS 1
1678 // experimental, don't use for now
1679 #define wxUSE_DYNAMIC_LOADER 1
1681 // Set to 1 to use socket classes
1682 #define wxUSE_SOCKETS 1
1684 // Set to 1 to enable virtual file systems (required by wxHTML)
1685 #define wxUSE_FILESYSTEM 1
1687 // Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
1688 #define wxUSE_FS_ZIP 1
1690 // Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
1691 #define wxUSE_FS_ARCHIVE 1
1693 // Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
1694 #define wxUSE_FS_INET 1
1696 // wxArchive classes for accessing archives such as zip and tar
1697 #define wxUSE_ARCHIVE_STREAMS 1
1699 // Set to 1 to compile wxZipInput/OutputStream classes.
1700 #define wxUSE_ZIPSTREAM 1
1702 // Set to 1 to compile wxTarInput/OutputStream classes.
1703 #define wxUSE_TARSTREAM 1
1705 // Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
1707 #define wxUSE_ZLIB 1
1709 // If enabled, the code written by Apple will be used to write, in a portable
1710 // way, float on the disk. See extended.c for the license which is different
1711 // from wxWidgets one.
1715 // Recommended setting: 1 unless you don't like the license terms (unlikely)
1716 #define wxUSE_APPLE_IEEE 1
1718 // Joystick support class
1719 #define wxUSE_JOYSTICK 1
1721 // wxFontEnumerator class
1722 #define wxUSE_FONTENUM 1
1724 // wxFontMapper class
1725 #define wxUSE_FONTMAP 1
1727 // wxMimeTypesManager class
1728 #define wxUSE_MIMETYPE 1
1730 // wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
1731 // or wxURL you need to set this to 1.
1735 // Recommended setting: 1
1736 #define wxUSE_PROTOCOL 1
1738 // The settings for the individual URL schemes
1739 #define wxUSE_PROTOCOL_FILE 1
1740 #define wxUSE_PROTOCOL_FTP 1
1741 #define wxUSE_PROTOCOL_HTTP 1
1743 // Define this to use wxURL class.
1746 // Define this to use native platform url and protocol support.
1747 // Currently valid only for MS-Windows.
1748 // Note: if you set this to 1, you can open ftp/http/gopher sites
1749 // and obtain a valid input stream for these sites
1750 // even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.
1751 // Doing so reduces the code size.
1753 // This code is experimental and subject to change.
1754 #define wxUSE_URL_NATIVE 0
1756 // Support for wxVariant class used in several places throughout the library,
1757 // notably in wxDataViewCtrl API.
1761 // Recommended setting: 1 unless you want to reduce the library size as much as
1762 // possible in which case setting this to 0 can gain up to 100KB.
1763 #define wxUSE_VARIANT 1
1765 // Support for regular expression matching via wxRegEx class: enable this to
1766 // use POSIX regular expressions in your code. You need to compile regex
1767 // library from src/regex to use it under Windows.
1771 // Recommended setting: 1 if your compiler supports it, if it doesn't please
1772 // contribute us a makefile for src/regex for it
1773 #define wxUSE_REGEX 1
1775 // wxSystemOptions class
1776 #define wxUSE_SYSTEM_OPTIONS 1
1779 #define wxUSE_SOUND 1
1785 // Recommended setting: 1
1786 #define wxUSE_MEDIACTRL 1
1788 // Use GStreamer for Unix (req a lot of dependancies)
1792 // Recommended setting: 1 (wxMediaCtrl won't work by default without it)
1793 #define wxUSE_GSTREAMER 0
1795 // Use wxWidget's XRC XML-based resource system. Recommended.
1799 // Recommended setting: 1 (requires wxUSE_XML)
1802 // XML parsing classes. Note that their API will change in the future, so
1803 // using wxXmlDocument and wxXmlNode in your app is not recommended.
1805 // Default is the same as wxUSE_XRC, i.e. 1 by default.
1807 // Recommended setting: 1 (required by XRC)
1808 #define wxUSE_XML wxUSE_XRC
1810 // Use wxWidget's AUI docking system
1814 // Recommended setting: 1
1817 // Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla.
1821 // Recommended setting: 1
1825 // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
1826 // 2D drawing API. (Still somewhat experimental)
1828 // Please note that on Windows you will need to link with gdiplus.lib (use
1829 // USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your
1830 // application if you want it to be runnable on pre-XP systems.
1834 // Recommended setting: 1
1835 #ifndef wxUSE_GRAPHICS_CONTEXT
1836 #define wxUSE_GRAPHICS_CONTEXT 0
1839 // ----------------------------------------------------------------------------
1840 // Individual GUI controls
1841 // ----------------------------------------------------------------------------
1843 // You must set wxUSE_CONTROLS to 1 if you are using any controls at all
1844 // (without it, wxControl class is not compiled)
1848 // Recommended setting: 1 (don't change except for very special programs)
1849 #define wxUSE_CONTROLS 1
1851 // wxPopupWindow class is a top level transient window. It is currently used
1852 // to implement wxTipWindow
1856 // Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
1857 #define wxUSE_POPUPWIN 1
1859 // wxTipWindow allows to implement the custom tooltips, it is used by the
1860 // context help classes. Requires wxUSE_POPUPWIN.
1864 // Recommended setting: 1 (may be set to 0)
1865 #define wxUSE_TIPWINDOW 1
1867 // Each of the settings below corresponds to one wxWidgets control. They are
1868 // all switched on by default but may be disabled if you are sure that your
1869 // program (including any standard dialogs it can show!) doesn't need them and
1870 // if you desperately want to save some space. If you use any of these you must
1871 // set wxUSE_CONTROLS as well.
1875 // Recommended setting: 1
1876 #define wxUSE_ANIMATIONCTRL 1 // wxAnimationCtrl
1877 #define wxUSE_BUTTON 1 // wxButton
1878 #define wxUSE_BMPBUTTON 1 // wxBitmapButton
1879 #define wxUSE_CALENDARCTRL 1 // wxCalendarCtrl
1880 #define wxUSE_CHECKBOX 1 // wxCheckBox
1881 #define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
1882 #define wxUSE_CHOICE 1 // wxChoice
1883 #define wxUSE_COLLPANE 1 // wxCollapsiblePane
1884 #define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
1885 #define wxUSE_COMBOBOX 1 // wxComboBox
1886 #define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
1887 #define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
1888 #define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
1889 #define wxUSE_EDITABLELISTBOX 1 // wxEditableListBox
1890 #define wxUSE_FILECTRL 1 // wxFileCtrl
1891 #define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
1892 #define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
1893 #define wxUSE_GAUGE 1 // wxGauge
1894 #define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
1895 #define wxUSE_LISTBOX 1 // wxListBox
1896 #define wxUSE_LISTCTRL 1 // wxListCtrl
1897 #define wxUSE_RADIOBOX 1 // wxRadioBox
1898 #define wxUSE_RADIOBTN 1 // wxRadioButton
1899 #define wxUSE_SCROLLBAR 1 // wxScrollBar
1900 #define wxUSE_SEARCHCTRL 1 // wxSearchCtrl
1901 #define wxUSE_SLIDER 1 // wxSlider
1902 #define wxUSE_SPINBTN 1 // wxSpinButton
1903 #define wxUSE_SPINCTRL 1 // wxSpinCtrl
1904 #define wxUSE_STATBOX 1 // wxStaticBox
1905 #define wxUSE_STATLINE 1 // wxStaticLine
1906 #define wxUSE_STATTEXT 1 // wxStaticText
1907 #define wxUSE_STATBMP 1 // wxStaticBitmap
1908 #define wxUSE_TEXTCTRL 1 // wxTextCtrl
1909 #define wxUSE_TOGGLEBTN 1 // requires wxButton
1910 #define wxUSE_TREECTRL 1 // wxTreeCtrl
1912 // Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR
1913 // below either wxStatusBar95 or a generic wxStatusBar will be used.
1917 // Recommended setting: 1
1918 #define wxUSE_STATUSBAR 1
1920 // Two status bar implementations are available under Win32: the generic one
1921 // or the wrapper around native control. For native look and feel the native
1922 // version should be used.
1924 // Default is 1 for the platforms where native status bar is supported.
1926 // Recommended setting: 1 (there is no advantage in using the generic one)
1927 #define wxUSE_NATIVE_STATUSBAR 1
1929 // wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
1930 // classes at all. Otherwise, use the native toolbar class unless
1931 // wxUSE_TOOLBAR_NATIVE is 0.
1933 // Default is 1 for all settings.
1935 // Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
1936 #define wxUSE_TOOLBAR 1
1937 #define wxUSE_TOOLBAR_NATIVE 1
1939 // wxNotebook is a control with several "tabs" located on one of its sides. It
1940 // may be used to logically organise the data presented to the user instead of
1941 // putting everything in one huge dialog. It replaces wxTabControl and related
1942 // classes of wxWin 1.6x.
1946 // Recommended setting: 1
1947 #define wxUSE_NOTEBOOK 1
1949 // wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
1954 // Recommended setting: 1
1955 #define wxUSE_LISTBOOK 1
1957 // wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
1962 // Recommended setting: 1
1963 #define wxUSE_CHOICEBOOK 1
1965 // wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
1970 // Recommended setting: 1
1971 #define wxUSE_TREEBOOK 1
1973 // wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
1978 // Recommended setting: 1
1979 #define wxUSE_TOOLBOOK 1
1981 // wxTabDialog is a generic version of wxNotebook but it is incompatible with
1982 // the new class. It shouldn't be used in new code.
1986 // Recommended setting: 0 (use wxNotebook)
1987 #define wxUSE_TAB_DIALOG 0
1989 // wxTaskBarIcon is a small notification icon shown in the system toolbar or
1994 // Recommended setting: 1 (but can be set to 0 if you don't need it)
1995 #define wxUSE_TASKBARICON 1
1999 // Default is 1, set to 0 to cut down compilation time and binaries size if you
2002 // Recommended setting: 1
2004 #define wxUSE_GRID 1
2006 // wxMiniFrame class: a frame with narrow title bar
2010 // Recommended setting: 1 (it doesn't cost almost anything)
2011 #define wxUSE_MINIFRAME 1
2013 // wxComboCtrl and related classes: combobox with custom popup window and
2014 // not necessarily a listbox.
2018 // Recommended setting: 1 but can be safely set to 0 except for wxUniv where it
2019 // it used by wxComboBox
2020 #define wxUSE_COMBOCTRL 1
2022 // wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
2027 // Recommended setting: 1 but can be safely set to 0, except where it is
2028 // needed as a base class for generic wxBitmapComboBox.
2029 #define wxUSE_ODCOMBOBOX 1
2031 // wxBitmapComboBox is a combobox that can have images in front of text items.
2035 // Recommended setting: 1 but can be safely set to 0
2036 #define wxUSE_BITMAPCOMBOBOX 1
2038 // ----------------------------------------------------------------------------
2039 // Miscellaneous GUI stuff
2040 // ----------------------------------------------------------------------------
2042 // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
2043 #define wxUSE_ACCEL 1
2045 // Hotkey support (currently Windows only)
2046 #define wxUSE_HOTKEY 1
2048 // Use wxCaret: a class implementing a "cursor" in a text control (called caret
2053 // Recommended setting: 1 (can be safely set to 0, not used by the library)
2054 #define wxUSE_CARET 1
2056 // Use wxDisplay class: it allows enumerating all displays on a system and
2057 // their geometries as well as finding the display on which the given point or
2062 // Recommended setting: 1 if you need it, can be safely set to 0 otherwise
2063 #define wxUSE_DISPLAY 1
2065 // Miscellaneous geometry code: needed for Canvas library
2066 #define wxUSE_GEOMETRY 1
2068 // Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
2073 // Recommended setting: 1 (set it to 0 if you don't use any of the controls
2074 // enumerated above, then this class is mostly useless too)
2075 #define wxUSE_IMAGLIST 1
2077 // Use wxMenu, wxMenuBar, wxMenuItem.
2081 // Recommended setting: 1 (can't be disabled under MSW)
2082 #define wxUSE_MENUS 1
2084 // Use wxSashWindow class.
2088 // Recommended setting: 1
2089 #define wxUSE_SASH 1
2091 // Use wxSplitterWindow class.
2095 // Recommended setting: 1
2096 #define wxUSE_SPLITTER 1
2098 // Use wxToolTip and wxWindow::Set/GetToolTip() methods.
2102 // Recommended setting: 1
2103 #define wxUSE_TOOLTIPS 1
2105 // wxValidator class and related methods
2106 #define wxUSE_VALIDATORS 1
2108 // ----------------------------------------------------------------------------
2110 // ----------------------------------------------------------------------------
2112 // On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g.
2113 // file selector, printer dialog). Switching this off also switches off the
2114 // printing architecture and interactive wxPrinterDC.
2118 // Recommended setting: 1 (unless it really doesn't work)
2119 #define wxUSE_COMMON_DIALOGS 1
2121 // wxBusyInfo displays window with message when app is busy. Works in same way
2123 #define wxUSE_BUSYINFO 1
2125 // Use single/multiple choice dialogs.
2129 // Recommended setting: 1 (used in the library itself)
2130 #define wxUSE_CHOICEDLG 1
2132 // Use colour picker dialog
2136 // Recommended setting: 1
2137 #define wxUSE_COLOURDLG 1
2139 // wxDirDlg class for getting a directory name from user
2140 #define wxUSE_DIRDLG 1
2142 // TODO: setting to choose the generic or native one
2144 // Use file open/save dialogs.
2148 // Recommended setting: 1 (used in many places in the library itself)
2149 #define wxUSE_FILEDLG 1
2151 // Use find/replace dialogs.
2155 // Recommended setting: 1 (but may be safely set to 0)
2156 #define wxUSE_FINDREPLDLG 1
2158 // Use font picker dialog
2162 // Recommended setting: 1 (used in the library itself)
2163 #define wxUSE_FONTDLG 1
2165 // Use wxMessageDialog and wxMessageBox.
2169 // Recommended setting: 1 (used in the library itself)
2170 #define wxUSE_MSGDLG 1
2172 // progress dialog class for lengthy operations
2173 #define wxUSE_PROGRESSDLG 1
2175 // support for startup tips (wxShowTip &c)
2176 #define wxUSE_STARTUP_TIPS 1
2178 // text entry dialog and wxGetTextFromUser function
2179 #define wxUSE_TEXTDLG 1
2181 // number entry dialog
2182 #define wxUSE_NUMBERDLG 1
2184 // splash screen class
2185 #define wxUSE_SPLASH 1
2188 #define wxUSE_WIZARDDLG 1
2190 // Compile in wxAboutBox() function showing the standard "About" dialog.
2194 // Recommended setting: 1 but can be set to 0 to save some space if you don't
2195 // use this function
2196 #define wxUSE_ABOUTDLG 1
2198 // ----------------------------------------------------------------------------
2199 // Metafiles support
2200 // ----------------------------------------------------------------------------
2202 // Windows supports the graphics format known as metafile which is, though not
2203 // portable, is widely used under Windows and so is supported by wxWin (under
2204 // Windows only, of course). Win16 (Win3.1) used the so-called "Window
2205 // MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
2206 // Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
2207 // default, WMFs will be used under Win16 and EMFs under Win32. This may be
2208 // changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
2209 // wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
2210 // in any metafile related classes at all.
2212 // Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
2214 // Recommended setting: default or 0 for everything for portable programs.
2215 #define wxUSE_METAFILE 1
2216 #define wxUSE_ENH_METAFILE 1
2217 #define wxUSE_WIN_METAFILES_ALWAYS 0
2219 // ----------------------------------------------------------------------------
2220 // Big GUI components
2221 // ----------------------------------------------------------------------------
2223 // Set to 0 to disable MDI support.
2225 // Requires wxUSE_NOTEBOOK under platforms other than MSW.
2229 // Recommended setting: 1, can be safely set to 0.
2232 // Set to 0 to disable document/view architecture
2233 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
2235 // Set to 0 to disable MDI document/view architecture
2237 // Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
2238 #define wxUSE_MDI_ARCHITECTURE 1
2240 // Set to 0 to disable print/preview architecture code
2241 #define wxUSE_PRINTING_ARCHITECTURE 1
2243 // wxHTML sublibrary allows to display HTML in wxWindow programs and much,
2248 // Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
2250 #define wxUSE_HTML 1
2252 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL
2253 // headers and libraries to be able to compile the library with wxUSE_GLCANVAS
2254 // set to 1. Note that for some compilers (notably Microsoft Visual C++) you
2255 // will need to manually add opengl32.lib and glu32.lib to the list of
2256 // libraries linked with your program if you use OpenGL.
2260 // Recommended setting: 1 if you intend to use OpenGL, 0 otherwise
2261 #define wxUSE_GLCANVAS 0
2263 // wxRichTextCtrl allows editing of styled text.
2267 // Recommended setting: 1, set to 0 if you want compile a
2269 #define wxUSE_RICHTEXT 1
2271 // ----------------------------------------------------------------------------
2273 // ----------------------------------------------------------------------------
2275 // Use wxClipboard class for clipboard copy/paste.
2279 // Recommended setting: 1
2280 #define wxUSE_CLIPBOARD 1
2282 // Use wxDataObject and related classes. Needed for clipboard and OLE drag and
2287 // Recommended setting: 1
2288 #define wxUSE_DATAOBJ 1
2290 // Use wxDropTarget and wxDropSource classes for drag and drop (this is
2291 // different from "built in" drag and drop in wxTreeCtrl which is always
2292 // available). Requires wxUSE_DATAOBJ.
2296 // Recommended setting: 1
2297 #define wxUSE_DRAG_AND_DROP 1
2299 // Use wxAccessible for enhanced and customisable accessibility.
2300 // Depends on wxUSE_OLE.
2304 // Recommended setting (at present): 0
2305 #define wxUSE_ACCESSIBILITY 0
2307 // ----------------------------------------------------------------------------
2308 // miscellaneous settings
2309 // ----------------------------------------------------------------------------
2311 // wxSingleInstanceChecker class allows to verify at startup if another program
2312 // instance is running (it is only available under Win32)
2316 // Recommended setting: 1 (the class is tiny, disabling it won't save much
2318 #define wxUSE_SNGLINST_CHECKER 1
2320 #define wxUSE_DRAGIMAGE 1
2323 // 0 for no interprocess comms
2324 #define wxUSE_HELP 1
2325 // 0 for no help facility
2327 // Should we use MS HTML help for wxHelpController? If disabled, neither
2328 // wxCHMHelpController nor wxBestHelpController are available.
2330 // Default is 1 under MSW, 0 is always used for the other platforms.
2332 // Recommended setting: 1, only set to 0 if you have trouble compiling
2333 // wxCHMHelpController (could be a problem with really ancient compilers)
2334 #define wxUSE_MS_HTML_HELP 1
2337 // Use wxHTML-based help controller?
2338 #define wxUSE_WXHTML_HELP 1
2340 #define wxUSE_CONSTRAINTS 1
2341 // 0 for no window layout constraint system
2343 #define wxUSE_SPLINES 1
2346 #define wxUSE_MOUSEWHEEL 1
2347 // Include mouse wheel support
2349 // ----------------------------------------------------------------------------
2350 // wxDC classes for various output formats
2351 // ----------------------------------------------------------------------------
2353 // Set to 1 for PostScript device context.
2354 #define wxUSE_POSTSCRIPT 0
2356 // Set to 1 to use font metric files in GetTextExtent
2357 #define wxUSE_AFM_FOR_POSTSCRIPT 1
2359 // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
2360 // to create fiels in SVG (Scalable Vector Graphics) format.
2363 // ----------------------------------------------------------------------------
2365 // ----------------------------------------------------------------------------
2367 // Define 1 to use ODBC classes
2368 #define wxUSE_ODBC 0
2370 // For backward compatibility reasons, this parameter now only controls the
2371 // default scrolling method used by cursors. This default behavior can be
2372 // overriden by setting the second param of wxDB::wxDbGetConnection() or
2373 // wxDb() constructor to indicate whether the connection (and any wxDbTable()s
2374 // that use the connection) should support forward only scrolling of cursors,
2375 // or both forward and backward support for backward scrolling cursors is
2376 // dependent on the data source as well as the ODBC driver being used.
2377 #define wxODBC_FWD_ONLY_CURSORS 1
2379 // Default is 0. Set to 1 to use the deprecated classes, enum types, function,
2380 // member variables. With a setting of 1, full backward compatibility with the
2381 // 2.0.x release is possible. It is STRONGLY recommended that this be set to 0,
2382 // as future development will be done only on the non-deprecated
2383 // functions/classes/member variables/etc.
2384 #define wxODBC_BACKWARD_COMPATABILITY 0
2386 // ----------------------------------------------------------------------------
2387 // other compiler (mis)features
2388 // ----------------------------------------------------------------------------
2390 // Set this to 0 if your compiler can't cope with omission of prototype
2395 // Recommended setting: 1 (should never need to set this to 0)
2396 #define REMOVE_UNUSED_ARG 1
2398 // VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
2399 // them. Set to 1 for <iostream.h>, 0 for <iostream>. Note that VC++ 7.1
2400 // and later doesn't support wxUSE_IOSTREAMH == 1 and so <iostream> will be
2405 // Recommended setting: whatever your compiler likes more
2406 #define wxUSE_IOSTREAMH 1
2408 // ----------------------------------------------------------------------------
2409 // image format support
2410 // ----------------------------------------------------------------------------
2412 // wxImage supports many different image formats which can be configured at
2413 // compile-time. BMP is always supported, others are optional and can be safely
2414 // disabled if you don't plan to use images in such format sometimes saving
2415 // substantial amount of code in the final library.
2417 // Some formats require an extra library which is included in wxWin sources
2418 // which is mentioned if it is the case.
2420 // Set to 1 for wxImage support (recommended).
2421 #define wxUSE_IMAGE 1
2423 // Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
2424 #define wxUSE_LIBPNG 1
2426 // Set to 1 for JPEG format support (requires libjpeg)
2427 #define wxUSE_LIBJPEG 1
2429 // Set to 1 for TIFF format support (requires libtiff)
2430 #define wxUSE_LIBTIFF 1
2432 // Set to 1 for TGA format support (loading only)
2435 // Set to 1 for GIF format support
2438 // Set to 1 for PNM format support
2441 // Set to 1 for PCX format support
2444 // Set to 1 for IFF format support (Amiga format)
2447 // Set to 1 for XPM format support
2450 // Set to 1 for MS Icons and Cursors format support
2451 #define wxUSE_ICO_CUR 1
2453 // Set to 1 to compile in wxPalette class
2454 #define wxUSE_PALETTE 1
2456 // ----------------------------------------------------------------------------
2457 // wxUniversal-only options
2458 // ----------------------------------------------------------------------------
2460 // Set to 1 to enable compilation of all themes, this is the default
2461 #define wxUSE_ALL_THEMES 1
2463 // Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
2464 // is unset, if it is set these options are not used; notice that metal theme
2466 #define wxUSE_THEME_GTK 0
2467 #define wxUSE_THEME_METAL 0
2468 #define wxUSE_THEME_MONO 0
2469 #define wxUSE_THEME_WIN32 0
2472 // ----------------------------------------------------------------------------
2473 // Windows-only settings
2474 // ----------------------------------------------------------------------------
2476 // Set wxUSE_UNICODE_MSLU to 1 if you're compiling wxWidgets in Unicode mode
2477 // and want to run your programs under Windows 9x and not only NT/2000/XP.
2478 // This setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see
2479 // http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx). Note
2480 // that you will have to modify the makefiles to include unicows.lib import
2481 // library as the first library (see installation instructions in install.txt
2482 // to learn how to do it when building the library or samples).
2484 // If your compiler doesn't have unicows.lib, you can get a version of it at
2485 // http://libunicows.sourceforge.net
2489 // Recommended setting: 0 (1 if you want to deploy Unicode apps on 9x systems)
2490 #ifndef wxUSE_UNICODE_MSLU
2491 #define wxUSE_UNICODE_MSLU 0
2494 // Set this to 1 if you want to use wxWidgets and MFC in the same program. This
2495 // will override some other settings (see below)
2499 // Recommended setting: 0 unless you really have to use MFC
2502 // Set this to 1 for generic OLE support: this is required for drag-and-drop,
2503 // clipboard, OLE Automation. Only set it to 0 if your compiler is very old and
2504 // can't compile/doesn't have the OLE headers.
2508 // Recommended setting: 1
2511 // Set this to 1 to enable wxAutomationObject class.
2515 // Recommended setting: 1 if you need to control other applications via OLE
2516 // Automation, can be safely set to 0 otherwise
2517 #define wxUSE_OLE_AUTOMATION 1
2519 // Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
2524 // Recommended setting: 1, required by wxMediaCtrl
2525 #define wxUSE_ACTIVEX 1
2527 // wxDC cacheing implementation
2528 #define wxUSE_DC_CACHEING 1
2530 // Set this to 1 to enable wxDIB class used internally for manipulating
2533 // Default is 1, set it to 0 only if you don't use wxImage neither
2535 // Recommended setting: 1 (without it conversion to/from wxImage won't work)
2536 #define wxUSE_WXDIB 1
2538 // Set to 0 to disable PostScript print/preview architecture code under Windows
2539 // (just use Windows printing).
2540 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
2542 // Set this to 1 to compile in wxRegKey class.
2546 // Recommended setting: 1, this is used internally by wx in a few places
2547 #define wxUSE_REGKEY 1
2549 // Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH
2550 // which allows to put more than ~32Kb of text in it even under Win9x (NT
2551 // doesn't have such limitation).
2553 // Default is 1 for compilers which support it
2555 // Recommended setting: 1, only set it to 0 if your compiler doesn't have
2556 // or can't compile <richedit.h>
2557 #define wxUSE_RICHEDIT 1
2559 // Set this to 1 to use extra features of richedit v2 and later controls
2561 // Default is 1 for compilers which support it
2563 // Recommended setting: 1
2564 #define wxUSE_RICHEDIT2 1
2566 // Set this to 1 to enable support for the owner-drawn menu and listboxes. This
2567 // is required by wxUSE_CHECKLISTBOX.
2571 // Recommended setting: 1, set to 0 for a small library size reduction
2572 #define wxUSE_OWNER_DRAWN 1
2574 // Set to 1 to compile MS Windows XP theme engine support
2575 #define wxUSE_UXTHEME 1
2577 // Set to 1 to use InkEdit control (Tablet PC), if available
2578 #define wxUSE_INKEDIT 0
2580 // Set to 1 to enable .INI files based wxConfig implementation (wxIniConfig)
2584 // Recommended setting: 0, nobody uses .INI files any more
2585 #define wxUSE_INICONF 0
2587 // ----------------------------------------------------------------------------
2588 // Generic versions of native controls
2589 // ----------------------------------------------------------------------------
2591 // Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
2592 // native wxDatePickerCtrl
2596 // Recommended setting: 0, this is mainly used for testing
2597 #define wxUSE_DATEPICKCTRL_GENERIC 0
2599 // ----------------------------------------------------------------------------
2600 // Crash debugging helpers
2601 // ----------------------------------------------------------------------------
2603 // Set this to 1 to be able to use wxCrashReport::Generate() to create mini
2604 // dumps of your program when it crashes (or at any other moment)
2606 // Default is 1 if supported by the compiler (VC++ and recent BC++ only).
2608 // Recommended setting: 1, set to 0 if your programs never crash
2609 #define wxUSE_CRASHREPORT 1