]> git.saurik.com Git - wxWidgets.git/blame - include/wx/setup_inc.h
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / include / wx / setup_inc.h
CommitLineData
99d80019
JS
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/setup_inc.h
3// Purpose: setup.h settings
4// Author: Vadim Zeitlin
5// Modified by:
6// Created:
99d80019
JS
7// Copyright: (c) Vadim Zeitlin
8// Licence: wxWindows licence
9///////////////////////////////////////////////////////////////////////////////
ff3a660b
VZ
10
11// ----------------------------------------------------------------------------
12// global settings
13// ----------------------------------------------------------------------------
14
15// define this to 0 when building wxBase library - this can also be done from
16// makefile/project file overriding the value here
17#ifndef wxUSE_GUI
18 #define wxUSE_GUI 1
19#endif // wxUSE_GUI
20
21// ----------------------------------------------------------------------------
22// compatibility settings
23// ----------------------------------------------------------------------------
24
dee1a63f 25// This setting determines the compatibility with 2.6 API: set it to 0 to
ff3a660b
VZ
26// flag all cases of using deprecated functions.
27//
28// Default is 1 but please try building your code with 0 as the default will
29// change to 0 in the next version and the deprecated functions will disappear
30// in the version after it completely.
31//
32// Recommended setting: 0 (please update your code)
abb6edd1
VS
33#define WXWIN_COMPATIBILITY_2_6 0
34
35// This setting determines the compatibility with 2.8 API: set it to 0 to
36// flag all cases of using deprecated functions.
37//
38// Default is 1 but please try building your code with 0 as the default will
39// change to 0 in the next version and the deprecated functions will disappear
40// in the version after it completely.
41//
42// Recommended setting: 0 (please update your code)
43#define WXWIN_COMPATIBILITY_2_8 1
ff3a660b 44
ed6dd18a
VZ
45// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
46// default system font is used for wxWindow::GetCharWidth/Height() instead of
47// the current font.
ff3a660b 48//
ed6dd18a 49// Default is 0
ff3a660b 50//
ed6dd18a
VZ
51// Recommended setting: 0
52#define wxDIALOG_UNIT_COMPATIBILITY 0
ff3a660b
VZ
53
54// ----------------------------------------------------------------------------
55// debugging settings
56// ----------------------------------------------------------------------------
57
ab06470e
VZ
58// wxDEBUG_LEVEL will be defined as 1 in wx/debug.h so normally there is no
59// need to define it here. You may do it for two reasons: either completely
60// disable/compile out the asserts in release version (then do it inside #ifdef
61// NDEBUG) or, on the contrary, enable more asserts, including the usually
62// disabled ones, in the debug build (then do it inside #ifndef NDEBUG)
63//
64// #ifdef NDEBUG
65// #define wxDEBUG_LEVEL 0
66// #else
67// #define wxDEBUG_LEVEL 2
68// #endif
69
70// wxHandleFatalExceptions() may be used to catch the program faults at run
71// time and, instead of terminating the program with a usual GPF message box,
72// call the user-defined wxApp::OnFatalException() function. If you set
73// wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work.
74//
75// This setting is for Win32 only and can only be enabled if your compiler
76// supports Win32 structured exception handling (currently only VC++ does)
77//
78// Default is 1
79//
80// Recommended setting: 1 if your compiler supports it.
81#define wxUSE_ON_FATAL_EXCEPTION 1
82
83// Set this to 1 to be able to generate a human-readable (unlike
84// machine-readable minidump created by wxCrashReport::Generate()) stack back
85// trace when your program crashes using wxStackWalker
86//
87// Default is 1 if supported by the compiler.
88//
89// Recommended setting: 1, set to 0 if your programs never crash
90#define wxUSE_STACKWALKER 1
91
92// Set this to 1 to compile in wxDebugReport class which allows you to create
93// and optionally upload to your web site a debug report consisting of back
94// trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
95//
96// Default is 1 if supported by the compiler.
97//
98// Recommended setting: 1, it is compiled into a separate library so there
99// is no overhead if you don't use it
100#define wxUSE_DEBUGREPORT 1
101
ff3a660b
VZ
102// Generic comment about debugging settings: they are very useful if you don't
103// use any other memory leak detection tools such as Purify/BoundsChecker, but
104// are probably redundant otherwise. Also, Visual C++ CRT has the same features
105// as wxWidgets memory debugging subsystem built in since version 5.0 and you
106// may prefer to use it instead of built in memory debugging code because it is
107// faster and more fool proof.
108//
ab06470e
VZ
109// Using VC++ CRT memory debugging is enabled by default in debug build (_DEBUG
110// is defined) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0)
ff3a660b
VZ
111// and if __NO_VC_CRTDBG__ is not defined.
112
ab06470e
VZ
113// The rest of the options in this section are obsolete and not supported,
114// enable them at your own risk.
115
ff3a660b
VZ
116// If 1, enables wxDebugContext, for writing error messages to file, etc. If
117// __WXDEBUG__ is not defined, will still use the normal memory operators.
118//
119// Default is 0
120//
121// Recommended setting: 0
122#define wxUSE_DEBUG_CONTEXT 0
123
124// If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
125// __WXDEBUG__ is also defined.
126//
127// WARNING: this code may not work with all architectures, especially if
128// alignment is an issue. This switch is currently ignored for mingw / cygwin
129//
130// Default is 0
131//
132// Recommended setting: 1 if you are not using a memory debugging tool, else 0
133#define wxUSE_MEMORY_TRACING 0
134
135// In debug mode, cause new and delete to be redefined globally.
136// If this causes problems (e.g. link errors which is a common problem
137// especially if you use another library which also redefines the global new
138// and delete), set this to 0.
139// This switch is currently ignored for mingw / cygwin
140//
141// Default is 0
142//
143// Recommended setting: 0
144#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
145
146// In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If
147// this causes problems (e.g. link errors), set this to 0. You may need to set
148// this to 0 if using templates (at least for VC++). This switch is currently
2415cf67 149// ignored for MinGW/Cygwin.
ff3a660b
VZ
150//
151// Default is 0
152//
153// Recommended setting: 0
154#define wxUSE_DEBUG_NEW_ALWAYS 0
155
88783bc4 156
ff3a660b
VZ
157// ----------------------------------------------------------------------------
158// Unicode support
159// ----------------------------------------------------------------------------
160
8953748b
VZ
161// These settings are obsolete: the library is always built in Unicode mode
162// now, only set wxUSE_UNICODE to 0 to compile legacy code in ANSI mode if
163// absolutely necessary -- updating it is strongly recommended as the ANSI mode
164// will disappear completely in future wxWidgets releases.
ff3a660b 165#ifndef wxUSE_UNICODE
8953748b 166 #define wxUSE_UNICODE 1
ff3a660b
VZ
167#endif
168
8953748b 169// wxUSE_WCHAR_T is required by wxWidgets now, don't change.
ff3a660b
VZ
170#define wxUSE_WCHAR_T 1
171
172// ----------------------------------------------------------------------------
173// global features
174// ----------------------------------------------------------------------------
175
176// Compile library in exception-safe mode? If set to 1, the library will try to
177// behave correctly in presence of exceptions (even though it still will not
178// use the exceptions itself) and notify the user code about any unhandled
179// exceptions. If set to 0, propagation of the exceptions through the library
180// code will lead to undefined behaviour -- but the code itself will be
181// slightly smaller and faster.
182//
b39c4812
VZ
183// Note that like wxUSE_THREADS this option is automatically set to 0 if
184// wxNO_EXCEPTIONS is defined.
185//
ff3a660b
VZ
186// Default is 1
187//
188// Recommended setting: depends on whether you intend to use C++ exceptions
189// in your own code (1 if you do, 0 if you don't)
190#define wxUSE_EXCEPTIONS 1
191
192// Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
193//
194// Default is 0
195//
28999ba6 196// Recommended setting: 0 (this is still work in progress...)
ff3a660b
VZ
197#define wxUSE_EXTENDED_RTTI 0
198
ff3a660b
VZ
199// Support for message/error logging. This includes wxLogXXX() functions and
200// wxLog and derived classes. Don't set this to 0 unless you really know what
201// you are doing.
202//
203// Default is 1
204//
205// Recommended setting: 1 (always)
206#define wxUSE_LOG 1
207
208// Recommended setting: 1
209#define wxUSE_LOGWINDOW 1
210
211// Recommended setting: 1
212#define wxUSE_LOGGUI 1
213
214// Recommended setting: 1
215#define wxUSE_LOG_DIALOG 1
216
217// Support for command line parsing using wxCmdLineParser class.
218//
219// Default is 1
220//
221// Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
222#define wxUSE_CMDLINE_PARSER 1
223
224// Support for multithreaded applications: if 1, compile in thread classes
225// (thread.h) and make the library a bit more thread safe. Although thread
226// support is quite stable by now, you may still consider recompiling the
227// library without it if you have no use for it - this will result in a
228// somewhat smaller and faster operation.
229//
b39c4812
VZ
230// Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
231// to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
b39c4812 232// build/msw/config.* file this value will have no effect.
ff3a660b
VZ
233//
234// Default is 1
235//
236// Recommended setting: 0 unless you do plan to develop MT applications
237#define wxUSE_THREADS 1
238
b0d969e8
VZ
239// If enabled, compiles wxWidgets streams classes
240//
241// wx stream classes are used for image IO, process IO redirection, network
242// protocols implementation and much more and so disabling this results in a
243// lot of other functionality being lost.
244//
245// Default is 1
246//
247// Recommended setting: 1 as setting it to 0 disables many other things
ff3a660b
VZ
248#define wxUSE_STREAMS 1
249
01871bf6
VZ
250// Support for positional parameters (e.g. %1$d, %2$s ...) in wxVsnprintf.
251// Note that if the system's implementation does not support positional
252// parameters, setting this to 1 forces the use of the wxWidgets implementation
253// of wxVsnprintf. The standard vsnprintf() supports positional parameters on
254// many Unix systems but usually doesn't under Windows.
255//
256// Positional parameters are very useful when translating a program since using
257// them in formatting strings allow translators to correctly reorder the
258// translated sentences.
259//
260// Default is 1
261//
262// Recommended setting: 1 if you want to support multiple languages
263#define wxUSE_PRINTF_POS_PARAMS 1
264
b33e9f40
VZ
265// Enable the use of compiler-specific thread local storage keyword, if any.
266// This is used for wxTLS_XXX() macros implementation and normally should use
267// the compiler-provided support as it's simpler and more efficient, but must
268// not use it if wxWidgets is used in a dynamically loaded Win32 (i.e. using
269// LoadLibrary()/GetProcAddress()) as this triggers a bug in compiler TLS
270// support that results in crashes when any TLS variables are used. So if you
271// are building a Win32 DLL using wxWidgets that can be loaded dynamically, set
272// this to 0.
273//
274// Default is 1, but set to 0 if the scenario above is applicable.
275#define wxUSE_COMPILER_TLS 1
01871bf6
VZ
276
277// ----------------------------------------------------------------------------
278// Interoperability with the standard library.
279// ----------------------------------------------------------------------------
280
281// Set wxUSE_STL to 1 to enable maximal interoperability with the standard
282// library, even at the cost of backwards compatibility.
283//
284// Default is 0
285//
286// Recommended setting: 0 as the options below already provide a relatively
287// good level of interoperability and changing this option arguably isn't worth
288// diverging from the official builds of the library.
289#define wxUSE_STL 0
290
bb445ba7 291// This is not a real option but is used as the default value for
01871bf6 292// wxUSE_STD_IOSTREAM, wxUSE_STD_STRING and wxUSE_STD_CONTAINERS.
bb445ba7
VZ
293//
294// Currently the Digital Mars and Watcom compilers come without standard C++
295// library headers by default, wxUSE_STD_STRING can be set to 1 if you do have
296// them (e.g. from STLPort).
297//
298// VC++ 5.0 does include standard C++ library headers, however they produce
299// many warnings that can't be turned off when compiled at warning level 4.
300#if defined(__DMC__) || defined(__WATCOMC__) \
301 || (defined(_MSC_VER) && _MSC_VER < 1200)
302 #define wxUSE_STD_DEFAULT 0
303#else
304 #define wxUSE_STD_DEFAULT 1
305#endif
306
01871bf6
VZ
307// Use standard C++ containers to implement wxVector<>, wxStack<>, wxDList<>
308// and wxHashXXX<> classes. If disabled, wxWidgets own (mostly compatible but
309// usually more limited) implementations are used which allows to avoid the
310// dependency on the C++ run-time library.
311//
7311debd
VZ
312// Notice that the compilers mentioned in wxUSE_STD_DEFAULT comment above don't
313// support using standard containers and that VC6 needs non-default options for
314// such build to avoid getting "fatal error C1076: compiler limit : internal
315// heap limit reached; use /Zm to specify a higher limit" in its own standard
316// headers, so you need to ensure you do increase the heap size before enabling
317// this option for this compiler.
318//
319// Default is 0 for compatibility reasons.
320//
321// Recommended setting: 1 unless compatibility with the official wxWidgets
322// build and/or the existing code is a concern.
323#define wxUSE_STD_CONTAINERS 0
01871bf6 324
b0d969e8 325// Use standard C++ streams if 1 instead of wx streams in some places. If
01871bf6
VZ
326// disabled, wx streams are used everywhere and wxWidgets doesn't depend on the
327// standard streams library.
b0d969e8
VZ
328//
329// Notice that enabling this does not replace wx streams with std streams
330// everywhere, in a lot of places wx streams are used no matter what.
331//
01871bf6 332// Default is 1 if compiler supports it.
b0d969e8
VZ
333//
334// Recommended setting: 1 if you use the standard streams anyhow and so
335// dependency on the standard streams library is not a
336// problem
bb445ba7 337#define wxUSE_STD_IOSTREAM wxUSE_STD_DEFAULT
ff3a660b 338
01871bf6
VZ
339// Enable minimal interoperability with the standard C++ string class if 1.
340// "Minimal" means that wxString can be constructed from std::string or
341// std::wstring but can't be implicitly converted to them. You need to enable
342// the option below for the latter.
8bb9d852
MW
343//
344// Default is 1 for most compilers.
345//
bb445ba7
VZ
346// Recommended setting: 1 unless you want to ensure your program doesn't use
347// the standard C++ library at all.
348#define wxUSE_STD_STRING wxUSE_STD_DEFAULT
668d55c9 349
01871bf6
VZ
350// Make wxString as much interchangeable with std::[w]string as possible, in
351// particular allow implicit conversion of wxString to either of these classes.
352// This comes at a price (or a benefit, depending on your point of view) of not
353// allowing implicit conversion to "const char *" and "const wchar_t *".
7a828c7f 354//
01871bf6
VZ
355// Because a lot of existing code relies on these conversions, this option is
356// disabled by default but can be enabled for your build if you don't care
357// about compatibility.
7a828c7f 358//
01871bf6 359// Default is 0 if wxUSE_STL has its default value or 1 if it is enabled.
7a828c7f 360//
01871bf6
VZ
361// Recommended setting: 0 to remain compatible with the official builds of
362// wxWidgets.
363#define wxUSE_STD_STRING_CONV_IN_WXSTRING wxUSE_STL
364
02f170d7
VZ
365// VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
366// them. Set this option to 1 to use <iostream.h>, 0 to use <iostream>.
367//
368// Note that newer compilers (including VC++ 7.1 and later) don't support
369// wxUSE_IOSTREAMH == 1 and so <iostream> will be used anyhow.
370//
371// Default is 0.
372//
373// Recommended setting: 0, only set to 1 if you use a really old compiler
374#define wxUSE_IOSTREAMH 0
375
7a828c7f 376
ff3a660b
VZ
377// ----------------------------------------------------------------------------
378// non GUI features selection
379// ----------------------------------------------------------------------------
380
381// Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit
382// integer which is implemented in terms of native 64 bit integers if any or
383// uses emulation otherwise.
384//
385// This class is required by wxDateTime and so you should enable it if you want
386// to use wxDateTime. For most modern platforms, it will use the native 64 bit
387// integers in which case (almost) all of its functions are inline and it
388// almost does not take any space, so there should be no reason to switch it
389// off.
390//
391// Recommended setting: 1
392#define wxUSE_LONGLONG 1
393
4db03d26
VZ
394// Set wxUSE_BASE64 to 1, to compile in Base64 support. This is required for
395// storing binary data in wxConfig on most platforms.
396//
397// Default is 1.
398//
399// Recommended setting: 1 (but can be safely disabled if you don't use it)
400#define wxUSE_BASE64 1
401
a1873279
VZ
402// Set this to 1 to be able to use wxEventLoop even in console applications
403// (i.e. using base library only, without GUI). This is mostly useful for
404// processing socket events but is also necessary to use timers in console
405// applications
406//
407// Default is 1.
408//
409// Recommended setting: 1 (but can be safely disabled if you don't use it)
410#define wxUSE_CONSOLE_EVENTLOOP 1
411
ff3a660b
VZ
412// Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level
413// POSIX functions for file access, wxFFile uses ANSI C stdio.h functions.
414//
415// Default is 1
416//
417// Recommended setting: 1 (wxFile is highly recommended as it is required by
418// i18n code, wxFileConfig and others)
419#define wxUSE_FILE 1
420#define wxUSE_FFILE 1
421
422// Use wxFSVolume class providing access to the configured/active mount points
423//
424// Default is 1
425//
426// Recommended setting: 1 (but may be safely disabled if you don't use it)
427#define wxUSE_FSVOLUME 1
428
07158944
VZ
429// Use wxStandardPaths class which allows to retrieve some standard locations
430// in the file system
431//
432// Default is 1
433//
434// Recommended setting: 1 (may be disabled to save space, but not much)
435#define wxUSE_STDPATHS 1
436
ff3a660b
VZ
437// use wxTextBuffer class: required by wxTextFile
438#define wxUSE_TEXTBUFFER 1
439
440// use wxTextFile class: requires wxFile and wxTextBuffer, required by
441// wxFileConfig
442#define wxUSE_TEXTFILE 1
443
444// i18n support: _() macro, wxLocale class. Requires wxTextFile.
445#define wxUSE_INTL 1
446
6e4ae332
VZ
447// Provide wxFoo_l() functions similar to standard foo() functions but taking
448// an extra locale parameter.
449//
450// Notice that this is fully implemented only for the systems providing POSIX
451// xlocale support or Microsoft Visual C++ >= 8 (which provides proprietary
452// almost-equivalent of xlocale functions), otherwise wxFoo_l() functions will
453// only work for the current user locale and "C" locale. You can use
454// wxHAS_XLOCALE_SUPPORT to test whether the full support is available.
455//
456// Default is 1
457//
458// Recommended setting: 1 but may be disabled if you are writing programs
459// running only in C locale anyhow
460#define wxUSE_XLOCALE 1
461
ff3a660b
VZ
462// Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which
463// allow to manipulate dates, times and time intervals. wxDateTime replaces the
464// old wxTime and wxDate classes which are still provided for backwards
465// compatibility (and implemented in terms of wxDateTime).
466//
467// Note that this class is relatively new and is still officially in alpha
468// stage because some features are not yet (fully) implemented. It is already
469// quite useful though and should only be disabled if you are aiming at
470// absolutely minimal version of the library.
471//
472// Requires: wxUSE_LONGLONG
473//
474// Default is 1
475//
476// Recommended setting: 1
477#define wxUSE_DATETIME 1
478
479// Set wxUSE_TIMER to 1 to compile wxTimer class
480//
481// Default is 1
482//
483// Recommended setting: 1
484#define wxUSE_TIMER 1
485
486// Use wxStopWatch clas.
487//
488// Default is 1
489//
490// Recommended setting: 1 (needed by wxSocket)
491#define wxUSE_STOPWATCH 1
492
6b8ef0b3
VZ
493// Set wxUSE_FSWATCHER to 1 if you want to enable wxFileSystemWatcher
494//
495// Default is 1
496//
497// Recommended setting: 1
498#define wxUSE_FSWATCHER 1
499
ff3a660b
VZ
500// Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
501// which allow the application to store its settings in the persistent
502// storage. Setting this to 1 will also enable on-demand creation of the
503// global config object in wxApp.
504//
505// See also wxUSE_CONFIG_NATIVE below.
506//
507// Recommended setting: 1
508#define wxUSE_CONFIG 1
509
510// If wxUSE_CONFIG is 1, you may choose to use either the native config
511// classes under Windows (using .INI files under Win16 and the registry under
512// Win32) or the portable text file format used by the config classes under
513// Unix.
514//
515// Default is 1 to use native classes. Note that you may still use
516// wxFileConfig even if you set this to 1 - just the config object created by
517// default for the applications needs will be a wxRegConfig or wxIniConfig and
518// not wxFileConfig.
519//
520// Recommended setting: 1
521#define wxUSE_CONFIG_NATIVE 1
522
523// If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows
524// to connect/disconnect from the network and be notified whenever the dial-up
525// network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER.
526//
527// Default is 1.
528//
529// Recommended setting: 1
530#define wxUSE_DIALUP_MANAGER 1
531
532// Compile in classes for run-time DLL loading and function calling.
533// Required by wxUSE_DIALUP_MANAGER.
534//
535// This setting is for Win32 only
536//
537// Default is 1.
538//
539// Recommended setting: 1
540#define wxUSE_DYNLIB_CLASS 1
541
542// experimental, don't use for now
543#define wxUSE_DYNAMIC_LOADER 1
544
545// Set to 1 to use socket classes
546#define wxUSE_SOCKETS 1
547
8575ff50
VZ
548// Set to 1 to use ipv6 socket classes (requires wxUSE_SOCKETS)
549//
550// Notice that currently setting this option under Windows will result in
551// programs which can only run on recent OS versions (with ws2_32.dll
552// installed) which is why it is disabled by default.
553//
554// Default is 1.
555//
556// Recommended setting: 1 if you need IPv6 support
557#define wxUSE_IPV6 0
558
ff3a660b
VZ
559// Set to 1 to enable virtual file systems (required by wxHTML)
560#define wxUSE_FILESYSTEM 1
561
562// Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
563#define wxUSE_FS_ZIP 1
564
26e422a9
MW
565// Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
566#define wxUSE_FS_ARCHIVE 1
567
ff3a660b
VZ
568// Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
569#define wxUSE_FS_INET 1
570
81f90336 571// wxArchive classes for accessing archives such as zip and tar
9e8e867f 572#define wxUSE_ARCHIVE_STREAMS 1
81f90336 573
ff3a660b
VZ
574// Set to 1 to compile wxZipInput/OutputStream classes.
575#define wxUSE_ZIPSTREAM 1
576
26e422a9
MW
577// Set to 1 to compile wxTarInput/OutputStream classes.
578#define wxUSE_TARSTREAM 1
579
ff3a660b
VZ
580// Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
581// wxUSE_LIBPNG
582#define wxUSE_ZLIB 1
583
584// If enabled, the code written by Apple will be used to write, in a portable
585// way, float on the disk. See extended.c for the license which is different
586// from wxWidgets one.
587//
588// Default is 1.
589//
590// Recommended setting: 1 unless you don't like the license terms (unlikely)
591#define wxUSE_APPLE_IEEE 1
592
593// Joystick support class
594#define wxUSE_JOYSTICK 1
595
ff427585
VZ
596// wxFontEnumerator class
597#define wxUSE_FONTENUM 1
598
ff3a660b
VZ
599// wxFontMapper class
600#define wxUSE_FONTMAP 1
601
602// wxMimeTypesManager class
603#define wxUSE_MIMETYPE 1
604
605// wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
606// or wxURL you need to set this to 1.
607//
608// Default is 1.
609//
610// Recommended setting: 1
611#define wxUSE_PROTOCOL 1
612
613// The settings for the individual URL schemes
614#define wxUSE_PROTOCOL_FILE 1
615#define wxUSE_PROTOCOL_FTP 1
616#define wxUSE_PROTOCOL_HTTP 1
617
618// Define this to use wxURL class.
619#define wxUSE_URL 1
620
621// Define this to use native platform url and protocol support.
622// Currently valid only for MS-Windows.
623// Note: if you set this to 1, you can open ftp/http/gopher sites
624// and obtain a valid input stream for these sites
625// even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.
626// Doing so reduces the code size.
627//
628// This code is experimental and subject to change.
629#define wxUSE_URL_NATIVE 0
630
ca5c6ac3
VZ
631// Support for wxVariant class used in several places throughout the library,
632// notably in wxDataViewCtrl API.
633//
634// Default is 1.
635//
636// Recommended setting: 1 unless you want to reduce the library size as much as
637// possible in which case setting this to 0 can gain up to 100KB.
638#define wxUSE_VARIANT 1
639
178c7760
JS
640// Support for wxAny class, the successor for wxVariant.
641//
642// Default is 1.
643//
644// Recommended setting: 1 unless you want to reduce the library size by a small amount,
645// or your compiler cannot for some reason cope with complexity of templates used.
646#define wxUSE_ANY 1
647
ff3a660b
VZ
648// Support for regular expression matching via wxRegEx class: enable this to
649// use POSIX regular expressions in your code. You need to compile regex
650// library from src/regex to use it under Windows.
651//
652// Default is 0
653//
654// Recommended setting: 1 if your compiler supports it, if it doesn't please
655// contribute us a makefile for src/regex for it
656#define wxUSE_REGEX 1
657
658// wxSystemOptions class
659#define wxUSE_SYSTEM_OPTIONS 1
660
661// wxSound class
662#define wxUSE_SOUND 1
663
664// Use wxMediaCtrl
665//
666// Default is 1.
667//
912c3932 668// Recommended setting: 1
ff3a660b
VZ
669#define wxUSE_MEDIACTRL 1
670
ff3a660b
VZ
671// Use wxWidget's XRC XML-based resource system. Recommended.
672//
673// Default is 1
674//
675// Recommended setting: 1 (requires wxUSE_XML)
676#define wxUSE_XRC 1
677
678// XML parsing classes. Note that their API will change in the future, so
679// using wxXmlDocument and wxXmlNode in your app is not recommended.
680//
c969b007 681// Default is the same as wxUSE_XRC, i.e. 1 by default.
ff3a660b
VZ
682//
683// Recommended setting: 1 (required by XRC)
c969b007 684#define wxUSE_XML wxUSE_XRC
ff3a660b 685
5e4903f5
JS
686// Use wxWidget's AUI docking system
687//
688// Default is 1
689//
690// Recommended setting: 1
691#define wxUSE_AUI 1
692
11c2b041
VZ
693// Use wxWidget's Ribbon classes for interfaces
694//
695// Default is 1
696//
697// Recommended setting: 1
698#define wxUSE_RIBBON 1
699
1c4293cb
VZ
700// Use wxPropertyGrid.
701//
702// Default is 1
703//
704// Recommended setting: 1
705#define wxUSE_PROPGRID 1
706
29825f5f
PC
707// Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla.
708//
709// Default is 1
710//
711// Recommended setting: 1
712#define wxUSE_STC 1
713
3544f421
SL
714// Use wxWidget's web viewing classes
715//
716// Default is 1
717//
718// Recommended setting: 1
e7aef23e 719#define wxUSE_WEBVIEW 1
3544f421 720
324c132b
SL
721// Use the IE wxWebView backend
722//
723// Default is 1 on MSW
724//
725// Recommended setting: 1
726#ifdef __WXMSW__
727#define wxUSE_WEBVIEW_IE 1
728#else
729#define wxUSE_WEBVIEW_IE 0
730#endif
731
732// Use the WebKit wxWebView backend
733//
734// Default is 1 on GTK and OSX
735//
736// Recommended setting: 1
737#if defined(__WXGTK__) || defined(__WXOSX__)
738#define wxUSE_WEBVIEW_WEBKIT 1
739#else
740#define wxUSE_WEBVIEW_WEBKIT 0
741#endif
f43426c1
RD
742
743// Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
744// 2D drawing API. (Still somewhat experimental)
745//
a12bd55b
VZ
746// Please note that on Windows gdiplus.dll is loaded dynamically which means
747// that nothing special needs to be done as long as you don't use
748// wxGraphicsContext at all or only use it on XP and later systems but you
749// still do need to distribute it yourself for an application using
750// wxGraphicsContext to be runnable on pre-XP systems.
e88f6524 751//
cde23b64
VZ
752// Default is 1 except if you're using a non-Microsoft compiler under Windows
753// as only MSVC7+ is known to ship with gdiplus.h. For other compilers (e.g.
754// mingw32) you may need to install the headers (and just the headers)
755// yourself. If you do, change the setting below manually.
f43426c1 756//
961f4d0c
VZ
757// Recommended setting: 1 if supported by the compilation environment
758
759// notice that we can't use wxCHECK_VISUALC_VERSION() here as this file is
760// included from wx/platform.h before wxCHECK_VISUALC_VERSION() is defined
761#ifdef _MSC_VER
cc16513e
VZ
762# if _MSC_VER >= 1310
763 // MSVC7.1+ comes with new enough Platform SDK, enable
764 // wxGraphicsContext support for it
961f4d0c
VZ
765# define wxUSE_GRAPHICS_CONTEXT 1
766# else
767 // MSVC 6 didn't include GDI+ headers so disable by default, enable it
768 // here if you use MSVC 6 with a newer SDK
769# define wxUSE_GRAPHICS_CONTEXT 0
770# endif
cde23b64 771#else
961f4d0c
VZ
772 // Disable support for other Windows compilers, enable it if your compiler
773 // comes with new enough SDK or you installed the headers manually.
774 //
775 // Notice that this will be set by configure under non-Windows platforms
776 // anyhow so the value there is not important.
777# define wxUSE_GRAPHICS_CONTEXT 0
cde23b64 778#endif
f43426c1 779
711a4812
VZ
780// Enable wxGraphicsContext implementation using Cairo library.
781//
782// This is not needed under Windows and detected automatically by configure
783// under other systems, however you may set this to 1 manually if you installed
784// Cairo under Windows yourself and prefer to use it instead the native GDI+
785// implementation.
786//
787// Default is 0
788//
789// Recommended setting: 0
790#define wxUSE_CAIRO 0
791
792
ff3a660b
VZ
793// ----------------------------------------------------------------------------
794// Individual GUI controls
795// ----------------------------------------------------------------------------
796
797// You must set wxUSE_CONTROLS to 1 if you are using any controls at all
798// (without it, wxControl class is not compiled)
799//
800// Default is 1
801//
802// Recommended setting: 1 (don't change except for very special programs)
803#define wxUSE_CONTROLS 1
804
f5bdfc69
VZ
805// Support markup in control labels, i.e. provide wxControl::SetLabelMarkup().
806// Currently markup is supported only by a few controls and only some ports but
807// their number will increase with time.
808//
809// Default is 1
810//
811// Recommended setting: 1 (may be set to 0 if you want to save on code size)
812#define wxUSE_MARKUP 1
813
ff3a660b
VZ
814// wxPopupWindow class is a top level transient window. It is currently used
815// to implement wxTipWindow
816//
817// Default is 1
818//
819// Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
820#define wxUSE_POPUPWIN 1
821
822// wxTipWindow allows to implement the custom tooltips, it is used by the
823// context help classes. Requires wxUSE_POPUPWIN.
824//
825// Default is 1
826//
827// Recommended setting: 1 (may be set to 0)
828#define wxUSE_TIPWINDOW 1
829
830// Each of the settings below corresponds to one wxWidgets control. They are
831// all switched on by default but may be disabled if you are sure that your
832// program (including any standard dialogs it can show!) doesn't need them and
833// if you desperately want to save some space. If you use any of these you must
834// set wxUSE_CONTROLS as well.
835//
836// Default is 1
837//
838// Recommended setting: 1
72045d57 839#define wxUSE_ANIMATIONCTRL 1 // wxAnimationCtrl
ea11bf3a 840#define wxUSE_BANNERWINDOW 1 // wxBannerWindow
17e91437
VZ
841#define wxUSE_BUTTON 1 // wxButton
842#define wxUSE_BMPBUTTON 1 // wxBitmapButton
843#define wxUSE_CALENDARCTRL 1 // wxCalendarCtrl
844#define wxUSE_CHECKBOX 1 // wxCheckBox
845#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
846#define wxUSE_CHOICE 1 // wxChoice
912c3932 847#define wxUSE_COLLPANE 1 // wxCollapsiblePane
ec376c8f 848#define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
17e91437 849#define wxUSE_COMBOBOX 1 // wxComboBox
3571e1ad 850#define wxUSE_COMMANDLINKBUTTON 1 // wxCommandLinkButton
17e91437
VZ
851#define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
852#define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
ec376c8f 853#define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
56eeb973 854#define wxUSE_EDITABLELISTBOX 1 // wxEditableListBox
0cf3e587 855#define wxUSE_FILECTRL 1 // wxFileCtrl
ec376c8f
VZ
856#define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
857#define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
17e91437 858#define wxUSE_GAUGE 1 // wxGauge
e721a2a2 859#define wxUSE_HEADERCTRL 1 // wxHeaderCtrl
17e91437
VZ
860#define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
861#define wxUSE_LISTBOX 1 // wxListBox
862#define wxUSE_LISTCTRL 1 // wxListCtrl
863#define wxUSE_RADIOBOX 1 // wxRadioBox
864#define wxUSE_RADIOBTN 1 // wxRadioButton
a1bdd4ab 865#define wxUSE_RICHMSGDLG 1 // wxRichMessageDialog
17e91437 866#define wxUSE_SCROLLBAR 1 // wxScrollBar
3f7f284d 867#define wxUSE_SEARCHCTRL 1 // wxSearchCtrl
17e91437
VZ
868#define wxUSE_SLIDER 1 // wxSlider
869#define wxUSE_SPINBTN 1 // wxSpinButton
870#define wxUSE_SPINCTRL 1 // wxSpinCtrl
871#define wxUSE_STATBOX 1 // wxStaticBox
872#define wxUSE_STATLINE 1 // wxStaticLine
873#define wxUSE_STATTEXT 1 // wxStaticText
874#define wxUSE_STATBMP 1 // wxStaticBitmap
875#define wxUSE_TEXTCTRL 1 // wxTextCtrl
569c7d8c 876#define wxUSE_TIMEPICKCTRL 1 // wxTimePickerCtrl
17e91437
VZ
877#define wxUSE_TOGGLEBTN 1 // requires wxButton
878#define wxUSE_TREECTRL 1 // wxTreeCtrl
524cb040 879#define wxUSE_TREELISTCTRL 1 // wxTreeListCtrl
ff3a660b
VZ
880
881// Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR
882// below either wxStatusBar95 or a generic wxStatusBar will be used.
883//
884// Default is 1
885//
886// Recommended setting: 1
887#define wxUSE_STATUSBAR 1
888
889// Two status bar implementations are available under Win32: the generic one
890// or the wrapper around native control. For native look and feel the native
891// version should be used.
892//
c67b4daf 893// Default is 1 for the platforms where native status bar is supported.
ff3a660b
VZ
894//
895// Recommended setting: 1 (there is no advantage in using the generic one)
896#define wxUSE_NATIVE_STATUSBAR 1
897
898// wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
899// classes at all. Otherwise, use the native toolbar class unless
900// wxUSE_TOOLBAR_NATIVE is 0.
901//
902// Default is 1 for all settings.
903//
904// Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
905#define wxUSE_TOOLBAR 1
906#define wxUSE_TOOLBAR_NATIVE 1
907
908// wxNotebook is a control with several "tabs" located on one of its sides. It
909// may be used to logically organise the data presented to the user instead of
910// putting everything in one huge dialog. It replaces wxTabControl and related
911// classes of wxWin 1.6x.
912//
913// Default is 1.
914//
915// Recommended setting: 1
916#define wxUSE_NOTEBOOK 1
917
918// wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
919// the tabs
920//
921// Default is 1.
922//
923// Recommended setting: 1
924#define wxUSE_LISTBOOK 1
925
926// wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
927// the tabs
928//
929// Default is 1.
930//
931// Recommended setting: 1
932#define wxUSE_CHOICEBOOK 1
933
eca15c0d
VZ
934// wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
935// the tabs
936//
937// Default is 1.
938//
939// Recommended setting: 1
940#define wxUSE_TREEBOOK 1
941
f4edf138
JS
942// wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
943// tabs
944//
945// Default is 1.
946//
947// Recommended setting: 1
948#define wxUSE_TOOLBOOK 1
949
4f167b46
VZ
950// wxTaskBarIcon is a small notification icon shown in the system toolbar or
951// dock.
952//
953// Default is 1.
954//
955// Recommended setting: 1 (but can be set to 0 if you don't need it)
956#define wxUSE_TASKBARICON 1
957
ff3a660b
VZ
958// wxGrid class
959//
c67b4daf
VZ
960// Default is 1, set to 0 to cut down compilation time and binaries size if you
961// don't use it.
ff3a660b
VZ
962//
963// Recommended setting: 1
964//
965#define wxUSE_GRID 1
966
c67b4daf
VZ
967// wxMiniFrame class: a frame with narrow title bar
968//
969// Default is 1.
970//
971// Recommended setting: 1 (it doesn't cost almost anything)
972#define wxUSE_MINIFRAME 1
973
a57d600f 974// wxComboCtrl and related classes: combobox with custom popup window and
28cbbe69
VZ
975// not necessarily a listbox.
976//
977// Default is 1.
978//
979// Recommended setting: 1 but can be safely set to 0 except for wxUniv where it
980// it used by wxComboBox
a57d600f 981#define wxUSE_COMBOCTRL 1
28cbbe69
VZ
982
983// wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
984// items.
985//
986// Default is 1.
987//
95a46303
RR
988// Recommended setting: 1 but can be safely set to 0, except where it is
989// needed as a base class for generic wxBitmapComboBox.
a57d600f 990#define wxUSE_ODCOMBOBOX 1
28cbbe69 991
95a46303
RR
992// wxBitmapComboBox is a combobox that can have images in front of text items.
993//
994// Default is 1.
995//
996// Recommended setting: 1 but can be safely set to 0
997#define wxUSE_BITMAPCOMBOBOX 1
998
f0bb342f
VZ
999// wxRearrangeCtrl is a wxCheckListBox with two buttons allowing to move items
1000// up and down in it. It is also used as part of wxRearrangeDialog.
1001//
1002// Default is 1.
1003//
1004// Recommended setting: 1 but can be safely set to 0 (currently used only by
1005// wxHeaderCtrl)
1006#define wxUSE_REARRANGECTRL 1
1007
ff3a660b
VZ
1008// ----------------------------------------------------------------------------
1009// Miscellaneous GUI stuff
1010// ----------------------------------------------------------------------------
1011
1012// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
1013#define wxUSE_ACCEL 1
1014
2e9b5717
VZ
1015// Use the standard art provider. The icons returned by this provider are
1016// embedded into the library as XPMs so disabling it reduces the library size
1017// somewhat but this should only be done if you use your own custom art
1018// provider returning the icons or never use any icons not provided by the
1019// native art provider (which might not be implemented at all for some
1020// platforms) or by the Tango icons provider (if it's not itself disabled
1021// below).
1022//
1023// Default is 1.
1024//
1025// Recommended setting: 1 unless you use your own custom art provider.
1026#define wxUSE_ARTPROVIDER_STD 1
1027
c1d2466a
VZ
1028// Use art provider providing Tango icons: this art provider has higher quality
1029// icons than the default ones using smaller size XPM icons without
1030// transparency but the embedded PNG icons add to the library size.
1031//
1032// Default is 1 under non-GTK ports. Under wxGTK the native art provider using
1033// the GTK+ stock icons replaces it so it is normally not necessary.
1034//
1035// Recommended setting: 1 but can be turned off to reduce the library size.
1036#define wxUSE_ARTPROVIDER_TANGO 1
1037
ff3a660b
VZ
1038// Hotkey support (currently Windows only)
1039#define wxUSE_HOTKEY 1
1040
1041// Use wxCaret: a class implementing a "cursor" in a text control (called caret
1042// under Windows).
1043//
1044// Default is 1.
1045//
1046// Recommended setting: 1 (can be safely set to 0, not used by the library)
1047#define wxUSE_CARET 1
1048
1049// Use wxDisplay class: it allows enumerating all displays on a system and
9e759756
VZ
1050// their geometries as well as finding the display on which the given point or
1051// window lies.
ff3a660b 1052//
9e759756 1053// Default is 1.
ff3a660b
VZ
1054//
1055// Recommended setting: 1 if you need it, can be safely set to 0 otherwise
9e759756 1056#define wxUSE_DISPLAY 1
ff3a660b
VZ
1057
1058// Miscellaneous geometry code: needed for Canvas library
1059#define wxUSE_GEOMETRY 1
1060
1061// Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
1062// wxListCtrl.
1063//
1064// Default is 1.
1065//
1066// Recommended setting: 1 (set it to 0 if you don't use any of the controls
1067// enumerated above, then this class is mostly useless too)
1068#define wxUSE_IMAGLIST 1
1069
a92b5dfe
VZ
1070// Use wxInfoBar class.
1071//
1072// Default is 1.
1073//
1074// Recommended setting: 1 (but can be disabled without problems as nothing
1075// depends on it)
1076#define wxUSE_INFOBAR 1
1077
ff3a660b
VZ
1078// Use wxMenu, wxMenuBar, wxMenuItem.
1079//
1080// Default is 1.
1081//
1082// Recommended setting: 1 (can't be disabled under MSW)
1083#define wxUSE_MENUS 1
1084
e36a1739
VZ
1085// Use wxNotificationMessage.
1086//
1087// wxNotificationMessage allows to show non-intrusive messages to the user
1088// using balloons, banners, popups or whatever is the appropriate method for
1089// the current platform.
1090//
1091// Default is 1.
1092//
1093// Recommended setting: 1
1094#define wxUSE_NOTIFICATION_MESSAGE 1
1095
a9452957
VZ
1096// wxPreferencesEditor provides a common API for different ways of presenting
1097// the standard "Preferences" or "Properties" dialog under different platforms
1098// (e.g. some use modal dialogs, some use modeless ones; some apply the changes
1099// immediately while others require an explicit "Apply" button).
1100//
1101// Default is 1.
1102//
1103// Recommended setting: 1 (but can be safely disabled if you don't use it)
1104#define wxUSE_PREFERENCES_EDITOR 1
1105
e520c3f7
VZ
1106// wxRichToolTip is a customizable tooltip class which has more functionality
1107// than the stock (but native, unlike this class) wxToolTip.
1108//
1109// Default is 1.
1110//
1111// Recommended setting: 1 (but can be safely set to 0 if you don't need it)
1112#define wxUSE_RICHTOOLTIP 1
1113
ff3a660b
VZ
1114// Use wxSashWindow class.
1115//
1116// Default is 1.
1117//
1118// Recommended setting: 1
1119#define wxUSE_SASH 1
1120
1121// Use wxSplitterWindow class.
1122//
1123// Default is 1.
1124//
1125// Recommended setting: 1
1126#define wxUSE_SPLITTER 1
1127
1128// Use wxToolTip and wxWindow::Set/GetToolTip() methods.
1129//
1130// Default is 1.
1131//
1132// Recommended setting: 1
1133#define wxUSE_TOOLTIPS 1
1134
1135// wxValidator class and related methods
1136#define wxUSE_VALIDATORS 1
1137
cf2810aa
VZ
1138// Use reference counted ID management: this means that wxWidgets will track
1139// the automatically allocated ids (those used when you use wxID_ANY when
1140// creating a window, menu or toolbar item &c) instead of just supposing that
1141// the program never runs out of them. This is mostly useful only under wxMSW
1142// where the total ids range is limited to SHRT_MIN..SHRT_MAX and where
1143// long-running programs can run into problems with ids reuse without this. On
1144// the other platforms, where the ids have the full int range, this shouldn't
1145// be necessary.
75a29ef1
VZ
1146#ifdef __WXMSW__
1147#define wxUSE_AUTOID_MANAGEMENT 1
1148#else
1149#define wxUSE_AUTOID_MANAGEMENT 0
1150#endif
cf2810aa 1151
ff3a660b
VZ
1152// ----------------------------------------------------------------------------
1153// common dialogs
1154// ----------------------------------------------------------------------------
1155
1156// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g.
1157// file selector, printer dialog). Switching this off also switches off the
1158// printing architecture and interactive wxPrinterDC.
1159//
1160// Default is 1
1161//
1162// Recommended setting: 1 (unless it really doesn't work)
1163#define wxUSE_COMMON_DIALOGS 1
1164
1165// wxBusyInfo displays window with message when app is busy. Works in same way
1166// as wxBusyCursor
1167#define wxUSE_BUSYINFO 1
1168
1169// Use single/multiple choice dialogs.
1170//
1171// Default is 1
1172//
1173// Recommended setting: 1 (used in the library itself)
1174#define wxUSE_CHOICEDLG 1
1175
1176// Use colour picker dialog
1177//
1178// Default is 1
1179//
1180// Recommended setting: 1
1181#define wxUSE_COLOURDLG 1
1182
1183// wxDirDlg class for getting a directory name from user
1184#define wxUSE_DIRDLG 1
1185
1186// TODO: setting to choose the generic or native one
1187
1188// Use file open/save dialogs.
1189//
1190// Default is 1
1191//
1192// Recommended setting: 1 (used in many places in the library itself)
1193#define wxUSE_FILEDLG 1
1194
1195// Use find/replace dialogs.
1196//
1197// Default is 1
1198//
1199// Recommended setting: 1 (but may be safely set to 0)
1200#define wxUSE_FINDREPLDLG 1
1201
1202// Use font picker dialog
1203//
1204// Default is 1
1205//
1206// Recommended setting: 1 (used in the library itself)
1207#define wxUSE_FONTDLG 1
1208
1209// Use wxMessageDialog and wxMessageBox.
1210//
1211// Default is 1
1212//
1213// Recommended setting: 1 (used in the library itself)
1214#define wxUSE_MSGDLG 1
1215
1216// progress dialog class for lengthy operations
1217#define wxUSE_PROGRESSDLG 1
1218
1219// support for startup tips (wxShowTip &c)
1220#define wxUSE_STARTUP_TIPS 1
1221
1222// text entry dialog and wxGetTextFromUser function
1223#define wxUSE_TEXTDLG 1
1224
1225// number entry dialog
1226#define wxUSE_NUMBERDLG 1
1227
1228// splash screen class
1229#define wxUSE_SPLASH 1
1230
1231// wizards
1232#define wxUSE_WIZARDDLG 1
1233
9211cf3c
VZ
1234// Compile in wxAboutBox() function showing the standard "About" dialog.
1235//
1236// Default is 1
1237//
1238// Recommended setting: 1 but can be set to 0 to save some space if you don't
1239// use this function
1240#define wxUSE_ABOUTDLG 1
1241
a0219e45
VS
1242// wxFileHistory class
1243//
1244// Default is 1
1245//
1246// Recommended setting: 1
1247#define wxUSE_FILE_HISTORY 1
1248
ff3a660b
VZ
1249// ----------------------------------------------------------------------------
1250// Metafiles support
1251// ----------------------------------------------------------------------------
1252
1253// Windows supports the graphics format known as metafile which is, though not
1254// portable, is widely used under Windows and so is supported by wxWin (under
1255// Windows only, of course). Win16 (Win3.1) used the so-called "Window
1256// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
1257// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
1258// default, WMFs will be used under Win16 and EMFs under Win32. This may be
1259// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
1260// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
1261// in any metafile related classes at all.
1262//
1263// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
1264//
1265// Recommended setting: default or 0 for everything for portable programs.
1266#define wxUSE_METAFILE 1
1267#define wxUSE_ENH_METAFILE 1
1268#define wxUSE_WIN_METAFILES_ALWAYS 0
1269
1270// ----------------------------------------------------------------------------
1271// Big GUI components
1272// ----------------------------------------------------------------------------
1273
1274// Set to 0 to disable MDI support.
1275//
1276// Requires wxUSE_NOTEBOOK under platforms other than MSW.
1277//
1278// Default is 1.
1279//
1280// Recommended setting: 1, can be safely set to 0.
1281#define wxUSE_MDI 1
1282
1283// Set to 0 to disable document/view architecture
1284#define wxUSE_DOC_VIEW_ARCHITECTURE 1
1285
1286// Set to 0 to disable MDI document/view architecture
1287//
1288// Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
1289#define wxUSE_MDI_ARCHITECTURE 1
1290
1291// Set to 0 to disable print/preview architecture code
1292#define wxUSE_PRINTING_ARCHITECTURE 1
1293
1294// wxHTML sublibrary allows to display HTML in wxWindow programs and much,
1295// much more.
1296//
1297// Default is 1.
1298//
1299// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
1300// smaller library.
1301#define wxUSE_HTML 1
1302
1303// Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL
1304// headers and libraries to be able to compile the library with wxUSE_GLCANVAS
24f618ee
VZ
1305// set to 1 and, under Windows, also to add opengl32.lib and glu32.lib to the
1306// list of libraries used to link your application (although this is done
1307// implicitly for Microsoft Visual C++ users).
ff3a660b 1308//
671683c4
VZ
1309// Default is 1 unless the compiler is known to ship without the necessary
1310// headers (Digital Mars) or the platform doesn't support OpenGL (Windows CE).
ff3a660b 1311//
671683c4
VZ
1312// Recommended setting: 1 if you intend to use OpenGL, can be safely set to 0
1313// otherwise.
1314#define wxUSE_GLCANVAS 1
ff3a660b 1315
5d7836c4
JS
1316// wxRichTextCtrl allows editing of styled text.
1317//
1318// Default is 1.
1319//
1320// Recommended setting: 1, set to 0 if you want compile a
1321// smaller library.
1322#define wxUSE_RICHTEXT 1
1323
ff3a660b
VZ
1324// ----------------------------------------------------------------------------
1325// Data transfer
1326// ----------------------------------------------------------------------------
1327
1328// Use wxClipboard class for clipboard copy/paste.
1329//
1330// Default is 1.
1331//
1332// Recommended setting: 1
1333#define wxUSE_CLIPBOARD 1
1334
1335// Use wxDataObject and related classes. Needed for clipboard and OLE drag and
1336// drop
1337//
1338// Default is 1.
1339//
1340// Recommended setting: 1
1341#define wxUSE_DATAOBJ 1
1342
1343// Use wxDropTarget and wxDropSource classes for drag and drop (this is
1344// different from "built in" drag and drop in wxTreeCtrl which is always
1345// available). Requires wxUSE_DATAOBJ.
1346//
1347// Default is 1.
1348//
1349// Recommended setting: 1
1350#define wxUSE_DRAG_AND_DROP 1
1351
1352// Use wxAccessible for enhanced and customisable accessibility.
1353// Depends on wxUSE_OLE.
1354//
1355// Default is 0.
1356//
1357// Recommended setting (at present): 0
1358#define wxUSE_ACCESSIBILITY 0
1359
1360// ----------------------------------------------------------------------------
1361// miscellaneous settings
1362// ----------------------------------------------------------------------------
1363
1364// wxSingleInstanceChecker class allows to verify at startup if another program
52e5cc35 1365// instance is running.
ff3a660b
VZ
1366//
1367// Default is 1
1368//
1369// Recommended setting: 1 (the class is tiny, disabling it won't save much
1370// space)
1371#define wxUSE_SNGLINST_CHECKER 1
1372
1373#define wxUSE_DRAGIMAGE 1
1374
1375#define wxUSE_IPC 1
1376 // 0 for no interprocess comms
1377#define wxUSE_HELP 1
1378 // 0 for no help facility
ff3a660b 1379
f05b5b77
VZ
1380// Should we use MS HTML help for wxHelpController? If disabled, neither
1381// wxCHMHelpController nor wxBestHelpController are available.
1382//
a1584ea1 1383// Default is 1 under MSW, 0 is always used for the other platforms.
f05b5b77
VZ
1384//
1385// Recommended setting: 1, only set to 0 if you have trouble compiling
1386// wxCHMHelpController (could be a problem with really ancient compilers)
1387#define wxUSE_MS_HTML_HELP 1
1388
1389
ff3a660b
VZ
1390// Use wxHTML-based help controller?
1391#define wxUSE_WXHTML_HELP 1
1392
ff3a660b
VZ
1393#define wxUSE_CONSTRAINTS 1
1394 // 0 for no window layout constraint system
1395
1396#define wxUSE_SPLINES 1
1397 // 0 for no splines
1398
1399#define wxUSE_MOUSEWHEEL 1
1400 // Include mouse wheel support
1401
9b7e0226 1402// Compile wxUIActionSimulator class?
571d991b 1403#define wxUSE_UIACTIONSIMULATOR 1
9b7e0226 1404
ff3a660b 1405// ----------------------------------------------------------------------------
b0fc907f 1406// wxDC classes for various output formats
ff3a660b
VZ
1407// ----------------------------------------------------------------------------
1408
1409// Set to 1 for PostScript device context.
1410#define wxUSE_POSTSCRIPT 0
1411
1412// Set to 1 to use font metric files in GetTextExtent
1413#define wxUSE_AFM_FOR_POSTSCRIPT 1
1414
b0fc907f 1415// Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
917fe2f2 1416// to create files in SVG (Scalable Vector Graphics) format.
b0fc907f
VZ
1417#define wxUSE_SVG 1
1418
e71508e1
VZ
1419// Should wxDC provide SetTransformMatrix() and related methods?
1420//
1421// Default is 1 but can be set to 0 if this functionality is not used. Notice
1422// that currently only wxMSW supports this so setting this to 0 doesn't change
1423// much for non-MSW platforms (although it will still save a few bytes
1424// probably).
1425//
1426// Recommended setting: 1.
1427#define wxUSE_DC_TRANSFORM_MATRIX 1
1428
ff3a660b 1429// ----------------------------------------------------------------------------
ff3a660b
VZ
1430// image format support
1431// ----------------------------------------------------------------------------
1432
1433// wxImage supports many different image formats which can be configured at
1434// compile-time. BMP is always supported, others are optional and can be safely
1435// disabled if you don't plan to use images in such format sometimes saving
1436// substantial amount of code in the final library.
1437//
1438// Some formats require an extra library which is included in wxWin sources
1439// which is mentioned if it is the case.
1440
1441// Set to 1 for wxImage support (recommended).
1442#define wxUSE_IMAGE 1
1443
1444// Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
1445#define wxUSE_LIBPNG 1
1446
1447// Set to 1 for JPEG format support (requires libjpeg)
1448#define wxUSE_LIBJPEG 1
1449
1450// Set to 1 for TIFF format support (requires libtiff)
1451#define wxUSE_LIBTIFF 1
1452
3af706cc
VZ
1453// Set to 1 for TGA format support (loading only)
1454#define wxUSE_TGA 1
1455
ff3a660b
VZ
1456// Set to 1 for GIF format support
1457#define wxUSE_GIF 1
1458
1459// Set to 1 for PNM format support
1460#define wxUSE_PNM 1
1461
1462// Set to 1 for PCX format support
1463#define wxUSE_PCX 1
1464
1465// Set to 1 for IFF format support (Amiga format)
1466#define wxUSE_IFF 0
1467
1468// Set to 1 for XPM format support
1469#define wxUSE_XPM 1
1470
1471// Set to 1 for MS Icons and Cursors format support
1472#define wxUSE_ICO_CUR 1
1473
1474// Set to 1 to compile in wxPalette class
1475#define wxUSE_PALETTE 1
1476
4353a8df
VZ
1477// ----------------------------------------------------------------------------
1478// wxUniversal-only options
1479// ----------------------------------------------------------------------------
1480
1481// Set to 1 to enable compilation of all themes, this is the default
1482#define wxUSE_ALL_THEMES 1
1483
1484// Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
1485// is unset, if it is set these options are not used; notice that metal theme
1486// uses Win32 one
1487#define wxUSE_THEME_GTK 0
1488#define wxUSE_THEME_METAL 0
1489#define wxUSE_THEME_MONO 0
1490#define wxUSE_THEME_WIN32 0
1491
1492