]>
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 // ----------------------------------------------------------------------------
1135 // other compiler (mis)features
1136 // ----------------------------------------------------------------------------
1138 // Set this to 0 if your compiler can't cope with omission of prototype
1143 // Recommended setting: 1 (should never need to set this to 0)
1144 #define REMOVE_UNUSED_ARG 1
1146 // VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
1147 // them. Set to 1 for <iostream.h>, 0 for <iostream>. Note that VC++ 7.1
1148 // and later doesn't support wxUSE_IOSTREAMH == 1 and so <iostream> will be
1153 // Recommended setting: whatever your compiler likes more
1154 #define wxUSE_IOSTREAMH 1
1156 // ----------------------------------------------------------------------------
1157 // image format support
1158 // ----------------------------------------------------------------------------
1160 // wxImage supports many different image formats which can be configured at
1161 // compile-time. BMP is always supported, others are optional and can be safely
1162 // disabled if you don't plan to use images in such format sometimes saving
1163 // substantial amount of code in the final library.
1165 // Some formats require an extra library which is included in wxWin sources
1166 // which is mentioned if it is the case.
1168 // Set to 1 for wxImage support (recommended).
1169 #define wxUSE_IMAGE 1
1171 // Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
1172 #define wxUSE_LIBPNG 1
1174 // Set to 1 for JPEG format support (requires libjpeg)
1175 #define wxUSE_LIBJPEG 1
1177 // Set to 1 for TIFF format support (requires libtiff)
1178 #define wxUSE_LIBTIFF 1
1180 // Set to 1 for TGA format support (loading only)
1183 // Set to 1 for GIF format support
1186 // Set to 1 for PNM format support
1189 // Set to 1 for PCX format support
1192 // Set to 1 for IFF format support (Amiga format)
1195 // Set to 1 for XPM format support
1198 // Set to 1 for MS Icons and Cursors format support
1199 #define wxUSE_ICO_CUR 1
1201 // Set to 1 to compile in wxPalette class
1202 #define wxUSE_PALETTE 1
1204 // ----------------------------------------------------------------------------
1205 // wxUniversal-only options
1206 // ----------------------------------------------------------------------------
1208 // Set to 1 to enable compilation of all themes, this is the default
1209 #define wxUSE_ALL_THEMES 1
1211 // Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
1212 // is unset, if it is set these options are not used; notice that metal theme
1214 #define wxUSE_THEME_GTK 0
1215 #define wxUSE_THEME_METAL 0
1216 #define wxUSE_THEME_MONO 0
1217 #define wxUSE_THEME_WIN32 0
1220 // ----------------------------------------------------------------------------
1222 // ----------------------------------------------------------------------------
1224 // define this to 0 when building wxBase library - this can also be done from
1225 // makefile/project file overriding the value here
1230 // ----------------------------------------------------------------------------
1231 // compatibility settings
1232 // ----------------------------------------------------------------------------
1234 // This setting determines the compatibility with 2.6 API: set it to 0 to
1235 // flag all cases of using deprecated functions.
1237 // Default is 1 but please try building your code with 0 as the default will
1238 // change to 0 in the next version and the deprecated functions will disappear
1239 // in the version after it completely.
1241 // Recommended setting: 0 (please update your code)
1242 #define WXWIN_COMPATIBILITY_2_6 0
1244 // This setting determines the compatibility with 2.8 API: set it to 0 to
1245 // flag all cases of using deprecated functions.
1247 // Default is 1 but please try building your code with 0 as the default will
1248 // change to 0 in the next version and the deprecated functions will disappear
1249 // in the version after it completely.
1251 // Recommended setting: 0 (please update your code)
1252 #define WXWIN_COMPATIBILITY_2_8 1
1254 // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
1255 // default system font is used for wxWindow::GetCharWidth/Height() instead of
1256 // the current font.
1260 // Recommended setting: 0
1261 #define wxDIALOG_UNIT_COMPATIBILITY 0
1263 // ----------------------------------------------------------------------------
1264 // debugging settings
1265 // ----------------------------------------------------------------------------
1267 // Generic comment about debugging settings: they are very useful if you don't
1268 // use any other memory leak detection tools such as Purify/BoundsChecker, but
1269 // are probably redundant otherwise. Also, Visual C++ CRT has the same features
1270 // as wxWidgets memory debugging subsystem built in since version 5.0 and you
1271 // may prefer to use it instead of built in memory debugging code because it is
1272 // faster and more fool proof.
1274 // Using VC++ CRT memory debugging is enabled by default in debug mode
1275 // (__WXDEBUG__) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0)
1276 // and if __NO_VC_CRTDBG__ is not defined.
1278 // If 1, enables wxDebugContext, for writing error messages to file, etc. If
1279 // __WXDEBUG__ is not defined, will still use the normal memory operators.
1283 // Recommended setting: 0
1284 #define wxUSE_DEBUG_CONTEXT 0
1286 // If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
1287 // __WXDEBUG__ is also defined.
1289 // WARNING: this code may not work with all architectures, especially if
1290 // alignment is an issue. This switch is currently ignored for mingw / cygwin
1294 // Recommended setting: 1 if you are not using a memory debugging tool, else 0
1295 #define wxUSE_MEMORY_TRACING 0
1297 // In debug mode, cause new and delete to be redefined globally.
1298 // If this causes problems (e.g. link errors which is a common problem
1299 // especially if you use another library which also redefines the global new
1300 // and delete), set this to 0.
1301 // This switch is currently ignored for mingw / cygwin
1305 // Recommended setting: 0
1306 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
1308 // In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If
1309 // this causes problems (e.g. link errors), set this to 0. You may need to set
1310 // this to 0 if using templates (at least for VC++). This switch is currently
1311 // ignored for mingw / cygwin / CodeWarrior
1315 // Recommended setting: 0
1316 #define wxUSE_DEBUG_NEW_ALWAYS 0
1318 // wxHandleFatalExceptions() may be used to catch the program faults at run
1319 // time and, instead of terminating the program with a usual GPF message box,
1320 // call the user-defined wxApp::OnFatalException() function. If you set
1321 // wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work.
1323 // This setting is for Win32 only and can only be enabled if your compiler
1324 // supports Win32 structured exception handling (currently only VC++ does)
1328 // Recommended setting: 1 if your compiler supports it.
1329 #define wxUSE_ON_FATAL_EXCEPTION 1
1331 // Set this to 1 to be able to generate a human-readable (unlike
1332 // machine-readable minidump created by wxCrashReport::Generate()) stack back
1333 // trace when your program crashes using wxStackWalker
1335 // Default is 1 if supported by the compiler.
1337 // Recommended setting: 1, set to 0 if your programs never crash
1338 #define wxUSE_STACKWALKER 1
1340 // Set this to 1 to compile in wxDebugReport class which allows you to create
1341 // and optionally upload to your web site a debug report consisting of back
1342 // trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
1344 // Default is 1 if supported by the compiler.
1346 // Recommended setting: 1, it is compiled into a separate library so there
1347 // is no overhead if you don't use it
1348 #define wxUSE_DEBUGREPORT 1
1350 // ----------------------------------------------------------------------------
1352 // ----------------------------------------------------------------------------
1354 // Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be
1355 // defined as wchar_t, wxString will use Unicode internally. If you set this
1356 // to 1, you must use wxT() macro for all literal strings in the program.
1358 // Unicode is currently only fully supported under Windows NT/2000/XP
1359 // (Windows 9x doesn't support it and the programs compiled in Unicode mode
1360 // will not run under 9x -- but see wxUSE_UNICODE_MSLU below).
1362 // Default is 0 (but only because of makefiles)
1364 // Recommended setting: 1
1365 #ifndef wxUSE_UNICODE
1366 #define wxUSE_UNICODE 0
1369 // Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
1370 // compiling the program in Unicode mode. More precisely, it will be possible
1371 // to construct wxString from a wide (Unicode) string and convert any wxString
1376 // Recommended setting: 1
1377 #define wxUSE_WCHAR_T 1
1379 // ----------------------------------------------------------------------------
1381 // ----------------------------------------------------------------------------
1383 // Compile library in exception-safe mode? If set to 1, the library will try to
1384 // behave correctly in presence of exceptions (even though it still will not
1385 // use the exceptions itself) and notify the user code about any unhandled
1386 // exceptions. If set to 0, propagation of the exceptions through the library
1387 // code will lead to undefined behaviour -- but the code itself will be
1388 // slightly smaller and faster.
1390 // Note that like wxUSE_THREADS this option is automatically set to 0 if
1391 // wxNO_EXCEPTIONS is defined.
1395 // Recommended setting: depends on whether you intend to use C++ exceptions
1396 // in your own code (1 if you do, 0 if you don't)
1397 #define wxUSE_EXCEPTIONS 1
1399 // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
1403 // Recommended setting: 0 (this is still work in progress...)
1404 #define wxUSE_EXTENDED_RTTI 0
1406 // Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from
1407 // std::list<Foo*> and std::vector<Foo*>, with a compatibility interface,
1408 // and for wxHashMap to be implemented with templates.
1412 // Recommended setting: YMMV
1415 // Support for message/error logging. This includes wxLogXXX() functions and
1416 // wxLog and derived classes. Don't set this to 0 unless you really know what
1421 // Recommended setting: 1 (always)
1424 // Recommended setting: 1
1425 #define wxUSE_LOGWINDOW 1
1427 // Recommended setting: 1
1428 #define wxUSE_LOGGUI 1
1430 // Recommended setting: 1
1431 #define wxUSE_LOG_DIALOG 1
1433 // Support for command line parsing using wxCmdLineParser class.
1437 // Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
1438 #define wxUSE_CMDLINE_PARSER 1
1440 // Support for multithreaded applications: if 1, compile in thread classes
1441 // (thread.h) and make the library a bit more thread safe. Although thread
1442 // support is quite stable by now, you may still consider recompiling the
1443 // library without it if you have no use for it - this will result in a
1444 // somewhat smaller and faster operation.
1446 // Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
1447 // to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
1448 // build/msw/config.* file this value will have no effect.
1452 // Recommended setting: 0 unless you do plan to develop MT applications
1453 #define wxUSE_THREADS 1
1455 // If enabled, compiles wxWidgets streams classes
1457 // wx stream classes are used for image IO, process IO redirection, network
1458 // protocols implementation and much more and so disabling this results in a
1459 // lot of other functionality being lost.
1463 // Recommended setting: 1 as setting it to 0 disables many other things
1464 #define wxUSE_STREAMS 1
1466 // Use standard C++ streams if 1 instead of wx streams in some places. If
1467 // disabled (default), wx streams are used everywhere and wxWidgets doesn't
1468 // depend on the standard streams library.
1470 // Notice that enabling this does not replace wx streams with std streams
1471 // everywhere, in a lot of places wx streams are used no matter what.
1475 // Recommended setting: 1 if you use the standard streams anyhow and so
1476 // dependency on the standard streams library is not a
1478 #define wxUSE_STD_IOSTREAM 0
1480 // Enable conversion to standard C++ string if 1.
1482 // Default is 1 for most compilers.
1484 // Currently the Digital Mars and Watcom compilers come without standard C++
1485 // library headers by default, wxUSE_STD_STRING can be set to 1 if you do have
1486 // them (e.g. from STLPort).
1488 // VC++ 5.0 does include standard C++ library header, however they produce
1489 // many warnings that can't be turned off when compiled at warning level 4.
1490 #if defined(__DMC__) || defined(__WATCOMC__) \
1491 || (defined(_MSC_VER) && _MSC_VER < 1200)
1492 #define wxUSE_STD_STRING 0
1494 #define wxUSE_STD_STRING 1
1497 // Support for positional parameters (e.g. %1$d, %2$s ...) in wxVsnprintf.
1498 // Note that if the system's implementation does not support positional
1499 // parameters, setting this to 1 forces the use of the wxWidgets implementation
1500 // of wxVsnprintf. The standard vsnprintf() supports positional parameters on
1501 // many Unix systems but usually doesn't under Windows.
1503 // Positional parameters are very useful when translating a program since using
1504 // them in formatting strings allow translators to correctly reorder the
1505 // translated sentences.
1509 // Recommended setting: 1 if you want to support multiple languages
1510 #define wxUSE_PRINTF_POS_PARAMS 1
1512 // ----------------------------------------------------------------------------
1513 // non GUI features selection
1514 // ----------------------------------------------------------------------------
1516 // Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit
1517 // integer which is implemented in terms of native 64 bit integers if any or
1518 // uses emulation otherwise.
1520 // This class is required by wxDateTime and so you should enable it if you want
1521 // to use wxDateTime. For most modern platforms, it will use the native 64 bit
1522 // integers in which case (almost) all of its functions are inline and it
1523 // almost does not take any space, so there should be no reason to switch it
1526 // Recommended setting: 1
1527 #define wxUSE_LONGLONG 1
1529 // Set wxUSE_BASE64 to 1, to compile in Base64 support. This is required for
1530 // storing binary data in wxConfig on most platforms.
1534 // Recommended setting: 1 (but can be safely disabled if you don't use it)
1535 #define wxUSE_BASE64 1
1537 // Set this to 1 to be able to use wxEventLoop even in console applications
1538 // (i.e. using base library only, without GUI). This is mostly useful for
1539 // processing socket events but is also necessary to use timers in console
1544 // Recommended setting: 1 (but can be safely disabled if you don't use it)
1545 #define wxUSE_CONSOLE_EVENTLOOP 1
1547 // Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level
1548 // POSIX functions for file access, wxFFile uses ANSI C stdio.h functions.
1552 // Recommended setting: 1 (wxFile is highly recommended as it is required by
1553 // i18n code, wxFileConfig and others)
1554 #define wxUSE_FILE 1
1555 #define wxUSE_FFILE 1
1557 // Use wxFSVolume class providing access to the configured/active mount points
1561 // Recommended setting: 1 (but may be safely disabled if you don't use it)
1562 #define wxUSE_FSVOLUME 1
1564 // Use wxStandardPaths class which allows to retrieve some standard locations
1565 // in the file system
1569 // Recommended setting: 1 (may be disabled to save space, but not much)
1570 #define wxUSE_STDPATHS 1
1572 // use wxTextBuffer class: required by wxTextFile
1573 #define wxUSE_TEXTBUFFER 1
1575 // use wxTextFile class: requires wxFile and wxTextBuffer, required by
1577 #define wxUSE_TEXTFILE 1
1579 // i18n support: _() macro, wxLocale class. Requires wxTextFile.
1580 #define wxUSE_INTL 1
1582 // Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which
1583 // allow to manipulate dates, times and time intervals. wxDateTime replaces the
1584 // old wxTime and wxDate classes which are still provided for backwards
1585 // compatibility (and implemented in terms of wxDateTime).
1587 // Note that this class is relatively new and is still officially in alpha
1588 // stage because some features are not yet (fully) implemented. It is already
1589 // quite useful though and should only be disabled if you are aiming at
1590 // absolutely minimal version of the library.
1592 // Requires: wxUSE_LONGLONG
1596 // Recommended setting: 1
1597 #define wxUSE_DATETIME 1
1599 // Set wxUSE_TIMER to 1 to compile wxTimer class
1603 // Recommended setting: 1
1604 #define wxUSE_TIMER 1
1606 // Use wxStopWatch clas.
1610 // Recommended setting: 1 (needed by wxSocket)
1611 #define wxUSE_STOPWATCH 1
1613 // Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
1614 // which allow the application to store its settings in the persistent
1615 // storage. Setting this to 1 will also enable on-demand creation of the
1616 // global config object in wxApp.
1618 // See also wxUSE_CONFIG_NATIVE below.
1620 // Recommended setting: 1
1621 #define wxUSE_CONFIG 1
1623 // If wxUSE_CONFIG is 1, you may choose to use either the native config
1624 // classes under Windows (using .INI files under Win16 and the registry under
1625 // Win32) or the portable text file format used by the config classes under
1628 // Default is 1 to use native classes. Note that you may still use
1629 // wxFileConfig even if you set this to 1 - just the config object created by
1630 // default for the applications needs will be a wxRegConfig or wxIniConfig and
1631 // not wxFileConfig.
1633 // Recommended setting: 1
1634 #define wxUSE_CONFIG_NATIVE 1
1636 // If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows
1637 // to connect/disconnect from the network and be notified whenever the dial-up
1638 // network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER.
1642 // Recommended setting: 1
1643 #define wxUSE_DIALUP_MANAGER 1
1645 // Compile in classes for run-time DLL loading and function calling.
1646 // Required by wxUSE_DIALUP_MANAGER.
1648 // This setting is for Win32 only
1652 // Recommended setting: 1
1653 #define wxUSE_DYNLIB_CLASS 1
1655 // experimental, don't use for now
1656 #define wxUSE_DYNAMIC_LOADER 1
1658 // Set to 1 to use socket classes
1659 #define wxUSE_SOCKETS 1
1661 // Set to 1 to enable virtual file systems (required by wxHTML)
1662 #define wxUSE_FILESYSTEM 1
1664 // Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
1665 #define wxUSE_FS_ZIP 1
1667 // Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
1668 #define wxUSE_FS_ARCHIVE 1
1670 // Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
1671 #define wxUSE_FS_INET 1
1673 // wxArchive classes for accessing archives such as zip and tar
1674 #define wxUSE_ARCHIVE_STREAMS 1
1676 // Set to 1 to compile wxZipInput/OutputStream classes.
1677 #define wxUSE_ZIPSTREAM 1
1679 // Set to 1 to compile wxTarInput/OutputStream classes.
1680 #define wxUSE_TARSTREAM 1
1682 // Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
1684 #define wxUSE_ZLIB 1
1686 // If enabled, the code written by Apple will be used to write, in a portable
1687 // way, float on the disk. See extended.c for the license which is different
1688 // from wxWidgets one.
1692 // Recommended setting: 1 unless you don't like the license terms (unlikely)
1693 #define wxUSE_APPLE_IEEE 1
1695 // Joystick support class
1696 #define wxUSE_JOYSTICK 1
1698 // wxFontEnumerator class
1699 #define wxUSE_FONTENUM 1
1701 // wxFontMapper class
1702 #define wxUSE_FONTMAP 1
1704 // wxMimeTypesManager class
1705 #define wxUSE_MIMETYPE 1
1707 // wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
1708 // or wxURL you need to set this to 1.
1712 // Recommended setting: 1
1713 #define wxUSE_PROTOCOL 1
1715 // The settings for the individual URL schemes
1716 #define wxUSE_PROTOCOL_FILE 1
1717 #define wxUSE_PROTOCOL_FTP 1
1718 #define wxUSE_PROTOCOL_HTTP 1
1720 // Define this to use wxURL class.
1723 // Define this to use native platform url and protocol support.
1724 // Currently valid only for MS-Windows.
1725 // Note: if you set this to 1, you can open ftp/http/gopher sites
1726 // and obtain a valid input stream for these sites
1727 // even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.
1728 // Doing so reduces the code size.
1730 // This code is experimental and subject to change.
1731 #define wxUSE_URL_NATIVE 0
1733 // Support for wxVariant class used in several places throughout the library,
1734 // notably in wxDataViewCtrl API.
1738 // Recommended setting: 1 unless you want to reduce the library size as much as
1739 // possible in which case setting this to 0 can gain up to 100KB.
1740 #define wxUSE_VARIANT 1
1742 // Support for regular expression matching via wxRegEx class: enable this to
1743 // use POSIX regular expressions in your code. You need to compile regex
1744 // library from src/regex to use it under Windows.
1748 // Recommended setting: 1 if your compiler supports it, if it doesn't please
1749 // contribute us a makefile for src/regex for it
1750 #define wxUSE_REGEX 1
1752 // wxSystemOptions class
1753 #define wxUSE_SYSTEM_OPTIONS 1
1756 #define wxUSE_SOUND 1
1762 // Recommended setting: 1
1763 #define wxUSE_MEDIACTRL 1
1765 // Use GStreamer for Unix (req a lot of dependancies)
1769 // Recommended setting: 1 (wxMediaCtrl won't work by default without it)
1770 #define wxUSE_GSTREAMER 0
1772 // Use wxWidget's XRC XML-based resource system. Recommended.
1776 // Recommended setting: 1 (requires wxUSE_XML)
1779 // XML parsing classes. Note that their API will change in the future, so
1780 // using wxXmlDocument and wxXmlNode in your app is not recommended.
1782 // Default is the same as wxUSE_XRC, i.e. 1 by default.
1784 // Recommended setting: 1 (required by XRC)
1785 #define wxUSE_XML wxUSE_XRC
1787 // Use wxWidget's AUI docking system
1791 // Recommended setting: 1
1794 // Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla.
1798 // Recommended setting: 1
1802 // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
1803 // 2D drawing API. (Still somewhat experimental)
1805 // Please note that on Windows you will need to link with gdiplus.lib (use
1806 // USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your
1807 // application if you want it to be runnable on pre-XP systems.
1811 // Recommended setting: 1
1812 #ifndef wxUSE_GRAPHICS_CONTEXT
1813 #define wxUSE_GRAPHICS_CONTEXT 0
1816 // ----------------------------------------------------------------------------
1817 // Individual GUI controls
1818 // ----------------------------------------------------------------------------
1820 // You must set wxUSE_CONTROLS to 1 if you are using any controls at all
1821 // (without it, wxControl class is not compiled)
1825 // Recommended setting: 1 (don't change except for very special programs)
1826 #define wxUSE_CONTROLS 1
1828 // wxPopupWindow class is a top level transient window. It is currently used
1829 // to implement wxTipWindow
1833 // Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
1834 #define wxUSE_POPUPWIN 1
1836 // wxTipWindow allows to implement the custom tooltips, it is used by the
1837 // context help classes. Requires wxUSE_POPUPWIN.
1841 // Recommended setting: 1 (may be set to 0)
1842 #define wxUSE_TIPWINDOW 1
1844 // Each of the settings below corresponds to one wxWidgets control. They are
1845 // all switched on by default but may be disabled if you are sure that your
1846 // program (including any standard dialogs it can show!) doesn't need them and
1847 // if you desperately want to save some space. If you use any of these you must
1848 // set wxUSE_CONTROLS as well.
1852 // Recommended setting: 1
1853 #define wxUSE_ANIMATIONCTRL 1 // wxAnimationCtrl
1854 #define wxUSE_BUTTON 1 // wxButton
1855 #define wxUSE_BMPBUTTON 1 // wxBitmapButton
1856 #define wxUSE_CALENDARCTRL 1 // wxCalendarCtrl
1857 #define wxUSE_CHECKBOX 1 // wxCheckBox
1858 #define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
1859 #define wxUSE_CHOICE 1 // wxChoice
1860 #define wxUSE_COLLPANE 1 // wxCollapsiblePane
1861 #define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
1862 #define wxUSE_COMBOBOX 1 // wxComboBox
1863 #define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
1864 #define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
1865 #define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
1866 #define wxUSE_EDITABLELISTBOX 1 // wxEditableListBox
1867 #define wxUSE_FILECTRL 1 // wxFileCtrl
1868 #define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
1869 #define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
1870 #define wxUSE_GAUGE 1 // wxGauge
1871 #define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
1872 #define wxUSE_LISTBOX 1 // wxListBox
1873 #define wxUSE_LISTCTRL 1 // wxListCtrl
1874 #define wxUSE_RADIOBOX 1 // wxRadioBox
1875 #define wxUSE_RADIOBTN 1 // wxRadioButton
1876 #define wxUSE_SCROLLBAR 1 // wxScrollBar
1877 #define wxUSE_SEARCHCTRL 1 // wxSearchCtrl
1878 #define wxUSE_SLIDER 1 // wxSlider
1879 #define wxUSE_SPINBTN 1 // wxSpinButton
1880 #define wxUSE_SPINCTRL 1 // wxSpinCtrl
1881 #define wxUSE_STATBOX 1 // wxStaticBox
1882 #define wxUSE_STATLINE 1 // wxStaticLine
1883 #define wxUSE_STATTEXT 1 // wxStaticText
1884 #define wxUSE_STATBMP 1 // wxStaticBitmap
1885 #define wxUSE_TEXTCTRL 1 // wxTextCtrl
1886 #define wxUSE_TOGGLEBTN 1 // requires wxButton
1887 #define wxUSE_TREECTRL 1 // wxTreeCtrl
1889 // Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR
1890 // below either wxStatusBar95 or a generic wxStatusBar will be used.
1894 // Recommended setting: 1
1895 #define wxUSE_STATUSBAR 1
1897 // Two status bar implementations are available under Win32: the generic one
1898 // or the wrapper around native control. For native look and feel the native
1899 // version should be used.
1901 // Default is 1 for the platforms where native status bar is supported.
1903 // Recommended setting: 1 (there is no advantage in using the generic one)
1904 #define wxUSE_NATIVE_STATUSBAR 1
1906 // wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
1907 // classes at all. Otherwise, use the native toolbar class unless
1908 // wxUSE_TOOLBAR_NATIVE is 0.
1910 // Default is 1 for all settings.
1912 // Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
1913 #define wxUSE_TOOLBAR 1
1914 #define wxUSE_TOOLBAR_NATIVE 1
1916 // wxNotebook is a control with several "tabs" located on one of its sides. It
1917 // may be used to logically organise the data presented to the user instead of
1918 // putting everything in one huge dialog. It replaces wxTabControl and related
1919 // classes of wxWin 1.6x.
1923 // Recommended setting: 1
1924 #define wxUSE_NOTEBOOK 1
1926 // wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
1931 // Recommended setting: 1
1932 #define wxUSE_LISTBOOK 1
1934 // wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
1939 // Recommended setting: 1
1940 #define wxUSE_CHOICEBOOK 1
1942 // wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
1947 // Recommended setting: 1
1948 #define wxUSE_TREEBOOK 1
1950 // wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
1955 // Recommended setting: 1
1956 #define wxUSE_TOOLBOOK 1
1958 // wxTabDialog is a generic version of wxNotebook but it is incompatible with
1959 // the new class. It shouldn't be used in new code.
1963 // Recommended setting: 0 (use wxNotebook)
1964 #define wxUSE_TAB_DIALOG 0
1966 // wxTaskBarIcon is a small notification icon shown in the system toolbar or
1971 // Recommended setting: 1 (but can be set to 0 if you don't need it)
1972 #define wxUSE_TASKBARICON 1
1976 // Default is 1, set to 0 to cut down compilation time and binaries size if you
1979 // Recommended setting: 1
1981 #define wxUSE_GRID 1
1983 // wxMiniFrame class: a frame with narrow title bar
1987 // Recommended setting: 1 (it doesn't cost almost anything)
1988 #define wxUSE_MINIFRAME 1
1990 // wxComboCtrl and related classes: combobox with custom popup window and
1991 // not necessarily a listbox.
1995 // Recommended setting: 1 but can be safely set to 0 except for wxUniv where it
1996 // it used by wxComboBox
1997 #define wxUSE_COMBOCTRL 1
1999 // wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
2004 // Recommended setting: 1 but can be safely set to 0, except where it is
2005 // needed as a base class for generic wxBitmapComboBox.
2006 #define wxUSE_ODCOMBOBOX 1
2008 // wxBitmapComboBox is a combobox that can have images in front of text items.
2012 // Recommended setting: 1 but can be safely set to 0
2013 #define wxUSE_BITMAPCOMBOBOX 1
2015 // ----------------------------------------------------------------------------
2016 // Miscellaneous GUI stuff
2017 // ----------------------------------------------------------------------------
2019 // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
2020 #define wxUSE_ACCEL 1
2022 // Hotkey support (currently Windows only)
2023 #define wxUSE_HOTKEY 1
2025 // Use wxCaret: a class implementing a "cursor" in a text control (called caret
2030 // Recommended setting: 1 (can be safely set to 0, not used by the library)
2031 #define wxUSE_CARET 1
2033 // Use wxDisplay class: it allows enumerating all displays on a system and
2034 // their geometries as well as finding the display on which the given point or
2039 // Recommended setting: 1 if you need it, can be safely set to 0 otherwise
2040 #define wxUSE_DISPLAY 1
2042 // Miscellaneous geometry code: needed for Canvas library
2043 #define wxUSE_GEOMETRY 1
2045 // Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
2050 // Recommended setting: 1 (set it to 0 if you don't use any of the controls
2051 // enumerated above, then this class is mostly useless too)
2052 #define wxUSE_IMAGLIST 1
2054 // Use wxMenu, wxMenuBar, wxMenuItem.
2058 // Recommended setting: 1 (can't be disabled under MSW)
2059 #define wxUSE_MENUS 1
2061 // Use wxSashWindow class.
2065 // Recommended setting: 1
2066 #define wxUSE_SASH 1
2068 // Use wxSplitterWindow class.
2072 // Recommended setting: 1
2073 #define wxUSE_SPLITTER 1
2075 // Use wxToolTip and wxWindow::Set/GetToolTip() methods.
2079 // Recommended setting: 1
2080 #define wxUSE_TOOLTIPS 1
2082 // wxValidator class and related methods
2083 #define wxUSE_VALIDATORS 1
2085 // ----------------------------------------------------------------------------
2087 // ----------------------------------------------------------------------------
2089 // On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g.
2090 // file selector, printer dialog). Switching this off also switches off the
2091 // printing architecture and interactive wxPrinterDC.
2095 // Recommended setting: 1 (unless it really doesn't work)
2096 #define wxUSE_COMMON_DIALOGS 1
2098 // wxBusyInfo displays window with message when app is busy. Works in same way
2100 #define wxUSE_BUSYINFO 1
2102 // Use single/multiple choice dialogs.
2106 // Recommended setting: 1 (used in the library itself)
2107 #define wxUSE_CHOICEDLG 1
2109 // Use colour picker dialog
2113 // Recommended setting: 1
2114 #define wxUSE_COLOURDLG 1
2116 // wxDirDlg class for getting a directory name from user
2117 #define wxUSE_DIRDLG 1
2119 // TODO: setting to choose the generic or native one
2121 // Use file open/save dialogs.
2125 // Recommended setting: 1 (used in many places in the library itself)
2126 #define wxUSE_FILEDLG 1
2128 // Use find/replace dialogs.
2132 // Recommended setting: 1 (but may be safely set to 0)
2133 #define wxUSE_FINDREPLDLG 1
2135 // Use font picker dialog
2139 // Recommended setting: 1 (used in the library itself)
2140 #define wxUSE_FONTDLG 1
2142 // Use wxMessageDialog and wxMessageBox.
2146 // Recommended setting: 1 (used in the library itself)
2147 #define wxUSE_MSGDLG 1
2149 // progress dialog class for lengthy operations
2150 #define wxUSE_PROGRESSDLG 1
2152 // support for startup tips (wxShowTip &c)
2153 #define wxUSE_STARTUP_TIPS 1
2155 // text entry dialog and wxGetTextFromUser function
2156 #define wxUSE_TEXTDLG 1
2158 // number entry dialog
2159 #define wxUSE_NUMBERDLG 1
2161 // splash screen class
2162 #define wxUSE_SPLASH 1
2165 #define wxUSE_WIZARDDLG 1
2167 // Compile in wxAboutBox() function showing the standard "About" dialog.
2171 // Recommended setting: 1 but can be set to 0 to save some space if you don't
2172 // use this function
2173 #define wxUSE_ABOUTDLG 1
2175 // ----------------------------------------------------------------------------
2176 // Metafiles support
2177 // ----------------------------------------------------------------------------
2179 // Windows supports the graphics format known as metafile which is, though not
2180 // portable, is widely used under Windows and so is supported by wxWin (under
2181 // Windows only, of course). Win16 (Win3.1) used the so-called "Window
2182 // MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
2183 // Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
2184 // default, WMFs will be used under Win16 and EMFs under Win32. This may be
2185 // changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
2186 // wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
2187 // in any metafile related classes at all.
2189 // Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
2191 // Recommended setting: default or 0 for everything for portable programs.
2192 #define wxUSE_METAFILE 1
2193 #define wxUSE_ENH_METAFILE 1
2194 #define wxUSE_WIN_METAFILES_ALWAYS 0
2196 // ----------------------------------------------------------------------------
2197 // Big GUI components
2198 // ----------------------------------------------------------------------------
2200 // Set to 0 to disable MDI support.
2202 // Requires wxUSE_NOTEBOOK under platforms other than MSW.
2206 // Recommended setting: 1, can be safely set to 0.
2209 // Set to 0 to disable document/view architecture
2210 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
2212 // Set to 0 to disable MDI document/view architecture
2214 // Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
2215 #define wxUSE_MDI_ARCHITECTURE 1
2217 // Set to 0 to disable print/preview architecture code
2218 #define wxUSE_PRINTING_ARCHITECTURE 1
2220 // wxHTML sublibrary allows to display HTML in wxWindow programs and much,
2225 // Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
2227 #define wxUSE_HTML 1
2229 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL
2230 // headers and libraries to be able to compile the library with wxUSE_GLCANVAS
2231 // set to 1. Note that for some compilers (notably Microsoft Visual C++) you
2232 // will need to manually add opengl32.lib and glu32.lib to the list of
2233 // libraries linked with your program if you use OpenGL.
2237 // Recommended setting: 1 if you intend to use OpenGL, 0 otherwise
2238 #define wxUSE_GLCANVAS 0
2240 // wxRichTextCtrl allows editing of styled text.
2244 // Recommended setting: 1, set to 0 if you want compile a
2246 #define wxUSE_RICHTEXT 1
2248 // ----------------------------------------------------------------------------
2250 // ----------------------------------------------------------------------------
2252 // Use wxClipboard class for clipboard copy/paste.
2256 // Recommended setting: 1
2257 #define wxUSE_CLIPBOARD 1
2259 // Use wxDataObject and related classes. Needed for clipboard and OLE drag and
2264 // Recommended setting: 1
2265 #define wxUSE_DATAOBJ 1
2267 // Use wxDropTarget and wxDropSource classes for drag and drop (this is
2268 // different from "built in" drag and drop in wxTreeCtrl which is always
2269 // available). Requires wxUSE_DATAOBJ.
2273 // Recommended setting: 1
2274 #define wxUSE_DRAG_AND_DROP 1
2276 // Use wxAccessible for enhanced and customisable accessibility.
2277 // Depends on wxUSE_OLE.
2281 // Recommended setting (at present): 0
2282 #define wxUSE_ACCESSIBILITY 0
2284 // ----------------------------------------------------------------------------
2285 // miscellaneous settings
2286 // ----------------------------------------------------------------------------
2288 // wxSingleInstanceChecker class allows to verify at startup if another program
2289 // instance is running (it is only available under Win32)
2293 // Recommended setting: 1 (the class is tiny, disabling it won't save much
2295 #define wxUSE_SNGLINST_CHECKER 1
2297 #define wxUSE_DRAGIMAGE 1
2300 // 0 for no interprocess comms
2301 #define wxUSE_HELP 1
2302 // 0 for no help facility
2304 // Should we use MS HTML help for wxHelpController? If disabled, neither
2305 // wxCHMHelpController nor wxBestHelpController are available.
2307 // Default is 1 under MSW, 0 is always used for the other platforms.
2309 // Recommended setting: 1, only set to 0 if you have trouble compiling
2310 // wxCHMHelpController (could be a problem with really ancient compilers)
2311 #define wxUSE_MS_HTML_HELP 1
2314 // Use wxHTML-based help controller?
2315 #define wxUSE_WXHTML_HELP 1
2317 #define wxUSE_CONSTRAINTS 1
2318 // 0 for no window layout constraint system
2320 #define wxUSE_SPLINES 1
2323 #define wxUSE_MOUSEWHEEL 1
2324 // Include mouse wheel support
2326 // ----------------------------------------------------------------------------
2327 // wxDC classes for various output formats
2328 // ----------------------------------------------------------------------------
2330 // Set to 1 for PostScript device context.
2331 #define wxUSE_POSTSCRIPT 0
2333 // Set to 1 to use font metric files in GetTextExtent
2334 #define wxUSE_AFM_FOR_POSTSCRIPT 1
2336 // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
2337 // to create fiels in SVG (Scalable Vector Graphics) format.
2340 // ----------------------------------------------------------------------------
2341 // other compiler (mis)features
2342 // ----------------------------------------------------------------------------
2344 // Set this to 0 if your compiler can't cope with omission of prototype
2349 // Recommended setting: 1 (should never need to set this to 0)
2350 #define REMOVE_UNUSED_ARG 1
2352 // VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
2353 // them. Set to 1 for <iostream.h>, 0 for <iostream>. Note that VC++ 7.1
2354 // and later doesn't support wxUSE_IOSTREAMH == 1 and so <iostream> will be
2359 // Recommended setting: whatever your compiler likes more
2360 #define wxUSE_IOSTREAMH 1
2362 // ----------------------------------------------------------------------------
2363 // image format support
2364 // ----------------------------------------------------------------------------
2366 // wxImage supports many different image formats which can be configured at
2367 // compile-time. BMP is always supported, others are optional and can be safely
2368 // disabled if you don't plan to use images in such format sometimes saving
2369 // substantial amount of code in the final library.
2371 // Some formats require an extra library which is included in wxWin sources
2372 // which is mentioned if it is the case.
2374 // Set to 1 for wxImage support (recommended).
2375 #define wxUSE_IMAGE 1
2377 // Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
2378 #define wxUSE_LIBPNG 1
2380 // Set to 1 for JPEG format support (requires libjpeg)
2381 #define wxUSE_LIBJPEG 1
2383 // Set to 1 for TIFF format support (requires libtiff)
2384 #define wxUSE_LIBTIFF 1
2386 // Set to 1 for TGA format support (loading only)
2389 // Set to 1 for GIF format support
2392 // Set to 1 for PNM format support
2395 // Set to 1 for PCX format support
2398 // Set to 1 for IFF format support (Amiga format)
2401 // Set to 1 for XPM format support
2404 // Set to 1 for MS Icons and Cursors format support
2405 #define wxUSE_ICO_CUR 1
2407 // Set to 1 to compile in wxPalette class
2408 #define wxUSE_PALETTE 1
2410 // ----------------------------------------------------------------------------
2411 // wxUniversal-only options
2412 // ----------------------------------------------------------------------------
2414 // Set to 1 to enable compilation of all themes, this is the default
2415 #define wxUSE_ALL_THEMES 1
2417 // Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
2418 // is unset, if it is set these options are not used; notice that metal theme
2420 #define wxUSE_THEME_GTK 0
2421 #define wxUSE_THEME_METAL 0
2422 #define wxUSE_THEME_MONO 0
2423 #define wxUSE_THEME_WIN32 0
2426 // ----------------------------------------------------------------------------
2427 // Windows-only settings
2428 // ----------------------------------------------------------------------------
2430 // Set wxUSE_UNICODE_MSLU to 1 if you're compiling wxWidgets in Unicode mode
2431 // and want to run your programs under Windows 9x and not only NT/2000/XP.
2432 // This setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see
2433 // http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx). Note
2434 // that you will have to modify the makefiles to include unicows.lib import
2435 // library as the first library (see installation instructions in install.txt
2436 // to learn how to do it when building the library or samples).
2438 // If your compiler doesn't have unicows.lib, you can get a version of it at
2439 // http://libunicows.sourceforge.net
2443 // Recommended setting: 0 (1 if you want to deploy Unicode apps on 9x systems)
2444 #ifndef wxUSE_UNICODE_MSLU
2445 #define wxUSE_UNICODE_MSLU 0
2448 // Set this to 1 if you want to use wxWidgets and MFC in the same program. This
2449 // will override some other settings (see below)
2453 // Recommended setting: 0 unless you really have to use MFC
2456 // Set this to 1 for generic OLE support: this is required for drag-and-drop,
2457 // clipboard, OLE Automation. Only set it to 0 if your compiler is very old and
2458 // can't compile/doesn't have the OLE headers.
2462 // Recommended setting: 1
2465 // Set this to 1 to enable wxAutomationObject class.
2469 // Recommended setting: 1 if you need to control other applications via OLE
2470 // Automation, can be safely set to 0 otherwise
2471 #define wxUSE_OLE_AUTOMATION 1
2473 // Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
2478 // Recommended setting: 1, required by wxMediaCtrl
2479 #define wxUSE_ACTIVEX 1
2481 // wxDC cacheing implementation
2482 #define wxUSE_DC_CACHEING 1
2484 // Set this to 1 to enable wxDIB class used internally for manipulating
2487 // Default is 1, set it to 0 only if you don't use wxImage neither
2489 // Recommended setting: 1 (without it conversion to/from wxImage won't work)
2490 #define wxUSE_WXDIB 1
2492 // Set to 0 to disable PostScript print/preview architecture code under Windows
2493 // (just use Windows printing).
2494 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
2496 // Set this to 1 to compile in wxRegKey class.
2500 // Recommended setting: 1, this is used internally by wx in a few places
2501 #define wxUSE_REGKEY 1
2503 // Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH
2504 // which allows to put more than ~32Kb of text in it even under Win9x (NT
2505 // doesn't have such limitation).
2507 // Default is 1 for compilers which support it
2509 // Recommended setting: 1, only set it to 0 if your compiler doesn't have
2510 // or can't compile <richedit.h>
2511 #define wxUSE_RICHEDIT 1
2513 // Set this to 1 to use extra features of richedit v2 and later controls
2515 // Default is 1 for compilers which support it
2517 // Recommended setting: 1
2518 #define wxUSE_RICHEDIT2 1
2520 // Set this to 1 to enable support for the owner-drawn menu and listboxes. This
2521 // is required by wxUSE_CHECKLISTBOX.
2525 // Recommended setting: 1, set to 0 for a small library size reduction
2526 #define wxUSE_OWNER_DRAWN 1
2528 // Set to 1 to compile MS Windows XP theme engine support
2529 #define wxUSE_UXTHEME 1
2531 // Set to 1 to use InkEdit control (Tablet PC), if available
2532 #define wxUSE_INKEDIT 0
2534 // Set to 1 to enable .INI files based wxConfig implementation (wxIniConfig)
2538 // Recommended setting: 0, nobody uses .INI files any more
2539 #define wxUSE_INICONF 0
2541 // ----------------------------------------------------------------------------
2542 // Generic versions of native controls
2543 // ----------------------------------------------------------------------------
2545 // Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
2546 // native wxDatePickerCtrl
2550 // Recommended setting: 0, this is mainly used for testing
2551 #define wxUSE_DATEPICKCTRL_GENERIC 0
2553 // ----------------------------------------------------------------------------
2554 // Crash debugging helpers
2555 // ----------------------------------------------------------------------------
2557 // Set this to 1 to be able to use wxCrashReport::Generate() to create mini
2558 // dumps of your program when it crashes (or at any other moment)
2560 // Default is 1 if supported by the compiler (VC++ and recent BC++ only).
2562 // Recommended setting: 1, set to 0 if your programs never crash
2563 #define wxUSE_CRASHREPORT 1