]> git.saurik.com Git - wxWidgets.git/blob - include/wx/univ/setup0.h
5009c9f2e9d100d14984b0f06d4678982374f784
[wxWidgets.git] / include / wx / univ / setup0.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/setup.h
3 // Purpose: configuration settings for wxUniversal/MSW
4 // Author: Vadim Zeitlin
5 // Modified by:
6 // Created: 14.08.00
7 // RCS-ID: $Id$
8 // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_UNIV_SETUP_H_
13 #define _WX_UNIV_SETUP_H_
14
15 // ----------------------------------------------------------------------------
16 // global settings
17 // ----------------------------------------------------------------------------
18 // define this to 0 when building wxBase library - this can also be done from
19 // makefile/project file overriding the value here
20 #ifndef wxUSE_GUI
21 #define wxUSE_GUI 1
22 #endif // wxUSE_GUI
23
24 // ----------------------------------------------------------------------------
25 // compatibility settings
26 // ----------------------------------------------------------------------------
27
28 // This setting determines the compatibility with 2.6 API: set it to 0 to
29 // flag all cases of using deprecated functions.
30 //
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.
34 //
35 // Recommended setting: 0 (please update your code)
36 #define WXWIN_COMPATIBILITY_2_6 0
37
38 // This setting determines the compatibility with 2.8 API: set it to 0 to
39 // flag all cases of using deprecated functions.
40 //
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.
44 //
45 // Recommended setting: 0 (please update your code)
46 #define WXWIN_COMPATIBILITY_2_8 1
47
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
50 // the current font.
51 //
52 // Default is 0
53 //
54 // Recommended setting: 0
55 #define wxDIALOG_UNIT_COMPATIBILITY 0
56
57 // ----------------------------------------------------------------------------
58 // debugging settings
59 // ----------------------------------------------------------------------------
60
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.
67 //
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.
71
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.
74 //
75 // Default is 0
76 //
77 // Recommended setting: 0
78 #define wxUSE_DEBUG_CONTEXT 0
79
80 // If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
81 // __WXDEBUG__ is also defined.
82 //
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
85 //
86 // Default is 0
87 //
88 // Recommended setting: 1 if you are not using a memory debugging tool, else 0
89 #define wxUSE_MEMORY_TRACING 0
90
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
96 //
97 // Default is 0
98 //
99 // Recommended setting: 0
100 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
101
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
106 //
107 // Default is 0
108 //
109 // Recommended setting: 0
110 #define wxUSE_DEBUG_NEW_ALWAYS 0
111
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.
116 //
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)
119 //
120 // Default is 1
121 //
122 // Recommended setting: 1 if your compiler supports it.
123 #define wxUSE_ON_FATAL_EXCEPTION 1
124
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
128 //
129 // Default is 1 if supported by the compiler.
130 //
131 // Recommended setting: 1, set to 0 if your programs never crash
132 #define wxUSE_STACKWALKER 1
133
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.
137 //
138 // Default is 1 if supported by the compiler.
139 //
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
143
144 // ----------------------------------------------------------------------------
145 // Unicode support
146 // ----------------------------------------------------------------------------
147
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.
151 //
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).
155 //
156 // Default is 0 (but only because of makefiles)
157 //
158 // Recommended setting: 1
159 #ifndef wxUSE_UNICODE
160 #define wxUSE_UNICODE 0
161 #endif
162
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
166 // to Unicode.
167 //
168 // Default is 1
169 //
170 // Recommended setting: 1
171 #define wxUSE_WCHAR_T 1
172
173 // ----------------------------------------------------------------------------
174 // global features
175 // ----------------------------------------------------------------------------
176
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.
183 //
184 // Note that like wxUSE_THREADS this option is automatically set to 0 if
185 // wxNO_EXCEPTIONS is defined.
186 //
187 // Default is 1
188 //
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
192
193 // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
194 //
195 // Default is 0
196 //
197 // Recommended setting: 0 (this is still work in progress...)
198 #define wxUSE_EXTENDED_RTTI 0
199
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.
203 //
204 // Default is 0
205 //
206 // Recommended setting: YMMV
207 #define wxUSE_STL 0
208
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
211 // you are doing.
212 //
213 // Default is 1
214 //
215 // Recommended setting: 1 (always)
216 #define wxUSE_LOG 1
217
218 // Recommended setting: 1
219 #define wxUSE_LOGWINDOW 1
220
221 // Recommended setting: 1
222 #define wxUSE_LOGGUI 1
223
224 // Recommended setting: 1
225 #define wxUSE_LOG_DIALOG 1
226
227 // Support for command line parsing using wxCmdLineParser class.
228 //
229 // Default is 1
230 //
231 // Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
232 #define wxUSE_CMDLINE_PARSER 1
233
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.
239 //
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.
243 //
244 // Default is 1
245 //
246 // Recommended setting: 0 unless you do plan to develop MT applications
247 #define wxUSE_THREADS 1
248
249 // If enabled, compiles wxWidgets streams classes
250 //
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.
254 //
255 // Default is 1
256 //
257 // Recommended setting: 1 as setting it to 0 disables many other things
258 #define wxUSE_STREAMS 1
259
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.
263 //
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.
266 //
267 // Default is 0
268 //
269 // Recommended setting: 1 if you use the standard streams anyhow and so
270 // dependency on the standard streams library is not a
271 // problem
272 #define wxUSE_STD_IOSTREAM 0
273
274 // Enable conversion to standard C++ string if 1.
275 //
276 // Default is 1 for most compilers.
277 //
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).
281 //
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
287 #else
288 #define wxUSE_STD_STRING 1
289 #endif
290
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.
296 //
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.
300 //
301 // Default is 1
302 //
303 // Recommended setting: 1 if you want to support multiple languages
304 #define wxUSE_PRINTF_POS_PARAMS 1
305
306 // ----------------------------------------------------------------------------
307 // non GUI features selection
308 // ----------------------------------------------------------------------------
309
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.
313 //
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
318 // off.
319 //
320 // Recommended setting: 1
321 #define wxUSE_LONGLONG 1
322
323 // Set wxUSE_BASE64 to 1, to compile in Base64 support. This is required for
324 // storing binary data in wxConfig on most platforms.
325 //
326 // Default is 1.
327 //
328 // Recommended setting: 1 (but can be safely disabled if you don't use it)
329 #define wxUSE_BASE64 1
330
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
334 // applications
335 //
336 // Default is 1.
337 //
338 // Recommended setting: 1 (but can be safely disabled if you don't use it)
339 #define wxUSE_CONSOLE_EVENTLOOP 1
340
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.
343 //
344 // Default is 1
345 //
346 // Recommended setting: 1 (wxFile is highly recommended as it is required by
347 // i18n code, wxFileConfig and others)
348 #define wxUSE_FILE 1
349 #define wxUSE_FFILE 1
350
351 // Use wxFSVolume class providing access to the configured/active mount points
352 //
353 // Default is 1
354 //
355 // Recommended setting: 1 (but may be safely disabled if you don't use it)
356 #define wxUSE_FSVOLUME 1
357
358 // Use wxStandardPaths class which allows to retrieve some standard locations
359 // in the file system
360 //
361 // Default is 1
362 //
363 // Recommended setting: 1 (may be disabled to save space, but not much)
364 #define wxUSE_STDPATHS 1
365
366 // use wxTextBuffer class: required by wxTextFile
367 #define wxUSE_TEXTBUFFER 1
368
369 // use wxTextFile class: requires wxFile and wxTextBuffer, required by
370 // wxFileConfig
371 #define wxUSE_TEXTFILE 1
372
373 // i18n support: _() macro, wxLocale class. Requires wxTextFile.
374 #define wxUSE_INTL 1
375
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).
380 //
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.
385 //
386 // Requires: wxUSE_LONGLONG
387 //
388 // Default is 1
389 //
390 // Recommended setting: 1
391 #define wxUSE_DATETIME 1
392
393 // Set wxUSE_TIMER to 1 to compile wxTimer class
394 //
395 // Default is 1
396 //
397 // Recommended setting: 1
398 #define wxUSE_TIMER 1
399
400 // Use wxStopWatch clas.
401 //
402 // Default is 1
403 //
404 // Recommended setting: 1 (needed by wxSocket)
405 #define wxUSE_STOPWATCH 1
406
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.
411 //
412 // See also wxUSE_CONFIG_NATIVE below.
413 //
414 // Recommended setting: 1
415 #define wxUSE_CONFIG 1
416
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
420 // Unix.
421 //
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
425 // not wxFileConfig.
426 //
427 // Recommended setting: 1
428 #define wxUSE_CONFIG_NATIVE 1
429
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.
433 //
434 // Default is 1.
435 //
436 // Recommended setting: 1
437 #define wxUSE_DIALUP_MANAGER 1
438
439 // Compile in classes for run-time DLL loading and function calling.
440 // Required by wxUSE_DIALUP_MANAGER.
441 //
442 // This setting is for Win32 only
443 //
444 // Default is 1.
445 //
446 // Recommended setting: 1
447 #define wxUSE_DYNLIB_CLASS 1
448
449 // experimental, don't use for now
450 #define wxUSE_DYNAMIC_LOADER 1
451
452 // Set to 1 to use socket classes
453 #define wxUSE_SOCKETS 1
454
455 // Set to 1 to enable virtual file systems (required by wxHTML)
456 #define wxUSE_FILESYSTEM 1
457
458 // Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
459 #define wxUSE_FS_ZIP 1
460
461 // Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
462 #define wxUSE_FS_ARCHIVE 1
463
464 // Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
465 #define wxUSE_FS_INET 1
466
467 // wxArchive classes for accessing archives such as zip and tar
468 #define wxUSE_ARCHIVE_STREAMS 1
469
470 // Set to 1 to compile wxZipInput/OutputStream classes.
471 #define wxUSE_ZIPSTREAM 1
472
473 // Set to 1 to compile wxTarInput/OutputStream classes.
474 #define wxUSE_TARSTREAM 1
475
476 // Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
477 // wxUSE_LIBPNG
478 #define wxUSE_ZLIB 1
479
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.
483 //
484 // Default is 1.
485 //
486 // Recommended setting: 1 unless you don't like the license terms (unlikely)
487 #define wxUSE_APPLE_IEEE 1
488
489 // Joystick support class
490 #define wxUSE_JOYSTICK 1
491
492 // wxFontEnumerator class
493 #define wxUSE_FONTENUM 1
494
495 // wxFontMapper class
496 #define wxUSE_FONTMAP 1
497
498 // wxMimeTypesManager class
499 #define wxUSE_MIMETYPE 1
500
501 // wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
502 // or wxURL you need to set this to 1.
503 //
504 // Default is 1.
505 //
506 // Recommended setting: 1
507 #define wxUSE_PROTOCOL 1
508
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
513
514 // Define this to use wxURL class.
515 #define wxUSE_URL 1
516
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.
523 //
524 // This code is experimental and subject to change.
525 #define wxUSE_URL_NATIVE 0
526
527 // Support for wxVariant class used in several places throughout the library,
528 // notably in wxDataViewCtrl API.
529 //
530 // Default is 1.
531 //
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
535
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.
539 //
540 // Default is 0
541 //
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
545
546 // wxSystemOptions class
547 #define wxUSE_SYSTEM_OPTIONS 1
548
549 // wxSound class
550 #define wxUSE_SOUND 1
551
552 // Use wxMediaCtrl
553 //
554 // Default is 1.
555 //
556 // Recommended setting: 1
557 #define wxUSE_MEDIACTRL 1
558
559 // Use GStreamer for Unix (req a lot of dependancies)
560 //
561 // Default is 0
562 //
563 // Recommended setting: 1 (wxMediaCtrl won't work by default without it)
564 #define wxUSE_GSTREAMER 0
565
566 // Use wxWidget's XRC XML-based resource system. Recommended.
567 //
568 // Default is 1
569 //
570 // Recommended setting: 1 (requires wxUSE_XML)
571 #define wxUSE_XRC 1
572
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.
575 //
576 // Default is the same as wxUSE_XRC, i.e. 1 by default.
577 //
578 // Recommended setting: 1 (required by XRC)
579 #define wxUSE_XML wxUSE_XRC
580
581 // Use wxWidget's AUI docking system
582 //
583 // Default is 1
584 //
585 // Recommended setting: 1
586 #define wxUSE_AUI 1
587
588 // Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla.
589 //
590 // Default is 1
591 //
592 // Recommended setting: 1
593 #define wxUSE_STC 1
594
595
596 // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
597 // 2D drawing API. (Still somewhat experimental)
598 //
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.
602 //
603 // Default is 0
604 //
605 // Recommended setting: 1
606 #ifndef wxUSE_GRAPHICS_CONTEXT
607 #define wxUSE_GRAPHICS_CONTEXT 0
608 #endif
609
610 // ----------------------------------------------------------------------------
611 // Individual GUI controls
612 // ----------------------------------------------------------------------------
613
614 // You must set wxUSE_CONTROLS to 1 if you are using any controls at all
615 // (without it, wxControl class is not compiled)
616 //
617 // Default is 1
618 //
619 // Recommended setting: 1 (don't change except for very special programs)
620 #define wxUSE_CONTROLS 1
621
622 // wxPopupWindow class is a top level transient window. It is currently used
623 // to implement wxTipWindow
624 //
625 // Default is 1
626 //
627 // Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
628 #define wxUSE_POPUPWIN 1
629
630 // wxTipWindow allows to implement the custom tooltips, it is used by the
631 // context help classes. Requires wxUSE_POPUPWIN.
632 //
633 // Default is 1
634 //
635 // Recommended setting: 1 (may be set to 0)
636 #define wxUSE_TIPWINDOW 1
637
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.
643 //
644 // Default is 1
645 //
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
682
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.
685 //
686 // Default is 1
687 //
688 // Recommended setting: 1
689 #define wxUSE_STATUSBAR 1
690
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.
694 //
695 // Default is 1 for the platforms where native status bar is supported.
696 //
697 // Recommended setting: 1 (there is no advantage in using the generic one)
698 #define wxUSE_NATIVE_STATUSBAR 1
699
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.
703 //
704 // Default is 1 for all settings.
705 //
706 // Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
707 #define wxUSE_TOOLBAR 1
708 #define wxUSE_TOOLBAR_NATIVE 1
709
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.
714 //
715 // Default is 1.
716 //
717 // Recommended setting: 1
718 #define wxUSE_NOTEBOOK 1
719
720 // wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
721 // the tabs
722 //
723 // Default is 1.
724 //
725 // Recommended setting: 1
726 #define wxUSE_LISTBOOK 1
727
728 // wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
729 // the tabs
730 //
731 // Default is 1.
732 //
733 // Recommended setting: 1
734 #define wxUSE_CHOICEBOOK 1
735
736 // wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
737 // the tabs
738 //
739 // Default is 1.
740 //
741 // Recommended setting: 1
742 #define wxUSE_TREEBOOK 1
743
744 // wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
745 // tabs
746 //
747 // Default is 1.
748 //
749 // Recommended setting: 1
750 #define wxUSE_TOOLBOOK 1
751
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.
754 //
755 // Default is 0.
756 //
757 // Recommended setting: 0 (use wxNotebook)
758 #define wxUSE_TAB_DIALOG 0
759
760 // wxTaskBarIcon is a small notification icon shown in the system toolbar or
761 // dock.
762 //
763 // Default is 1.
764 //
765 // Recommended setting: 1 (but can be set to 0 if you don't need it)
766 #define wxUSE_TASKBARICON 1
767
768 // wxGrid class
769 //
770 // Default is 1, set to 0 to cut down compilation time and binaries size if you
771 // don't use it.
772 //
773 // Recommended setting: 1
774 //
775 #define wxUSE_GRID 1
776
777 // wxMiniFrame class: a frame with narrow title bar
778 //
779 // Default is 1.
780 //
781 // Recommended setting: 1 (it doesn't cost almost anything)
782 #define wxUSE_MINIFRAME 1
783
784 // wxComboCtrl and related classes: combobox with custom popup window and
785 // not necessarily a listbox.
786 //
787 // Default is 1.
788 //
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
792
793 // wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
794 // items.
795 //
796 // Default is 1.
797 //
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
801
802 // wxBitmapComboBox is a combobox that can have images in front of text items.
803 //
804 // Default is 1.
805 //
806 // Recommended setting: 1 but can be safely set to 0
807 #define wxUSE_BITMAPCOMBOBOX 1
808
809 // ----------------------------------------------------------------------------
810 // Miscellaneous GUI stuff
811 // ----------------------------------------------------------------------------
812
813 // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
814 #define wxUSE_ACCEL 1
815
816 // Hotkey support (currently Windows only)
817 #define wxUSE_HOTKEY 1
818
819 // Use wxCaret: a class implementing a "cursor" in a text control (called caret
820 // under Windows).
821 //
822 // Default is 1.
823 //
824 // Recommended setting: 1 (can be safely set to 0, not used by the library)
825 #define wxUSE_CARET 1
826
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
829 // window lies.
830 //
831 // Default is 1.
832 //
833 // Recommended setting: 1 if you need it, can be safely set to 0 otherwise
834 #define wxUSE_DISPLAY 1
835
836 // Miscellaneous geometry code: needed for Canvas library
837 #define wxUSE_GEOMETRY 1
838
839 // Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
840 // wxListCtrl.
841 //
842 // Default is 1.
843 //
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
847
848 // Use wxMenu, wxMenuBar, wxMenuItem.
849 //
850 // Default is 1.
851 //
852 // Recommended setting: 1 (can't be disabled under MSW)
853 #define wxUSE_MENUS 1
854
855 // Use wxSashWindow class.
856 //
857 // Default is 1.
858 //
859 // Recommended setting: 1
860 #define wxUSE_SASH 1
861
862 // Use wxSplitterWindow class.
863 //
864 // Default is 1.
865 //
866 // Recommended setting: 1
867 #define wxUSE_SPLITTER 1
868
869 // Use wxToolTip and wxWindow::Set/GetToolTip() methods.
870 //
871 // Default is 1.
872 //
873 // Recommended setting: 1
874 #define wxUSE_TOOLTIPS 1
875
876 // wxValidator class and related methods
877 #define wxUSE_VALIDATORS 1
878
879 // ----------------------------------------------------------------------------
880 // common dialogs
881 // ----------------------------------------------------------------------------
882
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.
886 //
887 // Default is 1
888 //
889 // Recommended setting: 1 (unless it really doesn't work)
890 #define wxUSE_COMMON_DIALOGS 1
891
892 // wxBusyInfo displays window with message when app is busy. Works in same way
893 // as wxBusyCursor
894 #define wxUSE_BUSYINFO 1
895
896 // Use single/multiple choice dialogs.
897 //
898 // Default is 1
899 //
900 // Recommended setting: 1 (used in the library itself)
901 #define wxUSE_CHOICEDLG 1
902
903 // Use colour picker dialog
904 //
905 // Default is 1
906 //
907 // Recommended setting: 1
908 #define wxUSE_COLOURDLG 1
909
910 // wxDirDlg class for getting a directory name from user
911 #define wxUSE_DIRDLG 1
912
913 // TODO: setting to choose the generic or native one
914
915 // Use file open/save dialogs.
916 //
917 // Default is 1
918 //
919 // Recommended setting: 1 (used in many places in the library itself)
920 #define wxUSE_FILEDLG 1
921
922 // Use find/replace dialogs.
923 //
924 // Default is 1
925 //
926 // Recommended setting: 1 (but may be safely set to 0)
927 #define wxUSE_FINDREPLDLG 1
928
929 // Use font picker dialog
930 //
931 // Default is 1
932 //
933 // Recommended setting: 1 (used in the library itself)
934 #define wxUSE_FONTDLG 1
935
936 // Use wxMessageDialog and wxMessageBox.
937 //
938 // Default is 1
939 //
940 // Recommended setting: 1 (used in the library itself)
941 #define wxUSE_MSGDLG 1
942
943 // progress dialog class for lengthy operations
944 #define wxUSE_PROGRESSDLG 1
945
946 // support for startup tips (wxShowTip &c)
947 #define wxUSE_STARTUP_TIPS 1
948
949 // text entry dialog and wxGetTextFromUser function
950 #define wxUSE_TEXTDLG 1
951
952 // number entry dialog
953 #define wxUSE_NUMBERDLG 1
954
955 // splash screen class
956 #define wxUSE_SPLASH 1
957
958 // wizards
959 #define wxUSE_WIZARDDLG 1
960
961 // Compile in wxAboutBox() function showing the standard "About" dialog.
962 //
963 // Default is 1
964 //
965 // Recommended setting: 1 but can be set to 0 to save some space if you don't
966 // use this function
967 #define wxUSE_ABOUTDLG 1
968
969 // ----------------------------------------------------------------------------
970 // Metafiles support
971 // ----------------------------------------------------------------------------
972
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.
982 //
983 // Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
984 //
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
989
990 // ----------------------------------------------------------------------------
991 // Big GUI components
992 // ----------------------------------------------------------------------------
993
994 // Set to 0 to disable MDI support.
995 //
996 // Requires wxUSE_NOTEBOOK under platforms other than MSW.
997 //
998 // Default is 1.
999 //
1000 // Recommended setting: 1, can be safely set to 0.
1001 #define wxUSE_MDI 1
1002
1003 // Set to 0 to disable document/view architecture
1004 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
1005
1006 // Set to 0 to disable MDI document/view architecture
1007 //
1008 // Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
1009 #define wxUSE_MDI_ARCHITECTURE 1
1010
1011 // Set to 0 to disable print/preview architecture code
1012 #define wxUSE_PRINTING_ARCHITECTURE 1
1013
1014 // wxHTML sublibrary allows to display HTML in wxWindow programs and much,
1015 // much more.
1016 //
1017 // Default is 1.
1018 //
1019 // Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
1020 // smaller library.
1021 #define wxUSE_HTML 1
1022
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.
1028 //
1029 // Default is 0.
1030 //
1031 // Recommended setting: 1 if you intend to use OpenGL, 0 otherwise
1032 #define wxUSE_GLCANVAS 0
1033
1034 // wxRichTextCtrl allows editing of styled text.
1035 //
1036 // Default is 1.
1037 //
1038 // Recommended setting: 1, set to 0 if you want compile a
1039 // smaller library.
1040 #define wxUSE_RICHTEXT 1
1041
1042 // ----------------------------------------------------------------------------
1043 // Data transfer
1044 // ----------------------------------------------------------------------------
1045
1046 // Use wxClipboard class for clipboard copy/paste.
1047 //
1048 // Default is 1.
1049 //
1050 // Recommended setting: 1
1051 #define wxUSE_CLIPBOARD 1
1052
1053 // Use wxDataObject and related classes. Needed for clipboard and OLE drag and
1054 // drop
1055 //
1056 // Default is 1.
1057 //
1058 // Recommended setting: 1
1059 #define wxUSE_DATAOBJ 1
1060
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.
1064 //
1065 // Default is 1.
1066 //
1067 // Recommended setting: 1
1068 #define wxUSE_DRAG_AND_DROP 1
1069
1070 // Use wxAccessible for enhanced and customisable accessibility.
1071 // Depends on wxUSE_OLE.
1072 //
1073 // Default is 0.
1074 //
1075 // Recommended setting (at present): 0
1076 #define wxUSE_ACCESSIBILITY 0
1077
1078 // ----------------------------------------------------------------------------
1079 // miscellaneous settings
1080 // ----------------------------------------------------------------------------
1081
1082 // wxSingleInstanceChecker class allows to verify at startup if another program
1083 // instance is running (it is only available under Win32)
1084 //
1085 // Default is 1
1086 //
1087 // Recommended setting: 1 (the class is tiny, disabling it won't save much
1088 // space)
1089 #define wxUSE_SNGLINST_CHECKER 1
1090
1091 #define wxUSE_DRAGIMAGE 1
1092
1093 #define wxUSE_IPC 1
1094 // 0 for no interprocess comms
1095 #define wxUSE_HELP 1
1096 // 0 for no help facility
1097
1098 // Should we use MS HTML help for wxHelpController? If disabled, neither
1099 // wxCHMHelpController nor wxBestHelpController are available.
1100 //
1101 // Default is 1 under MSW, 0 is always used for the other platforms.
1102 //
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
1106
1107
1108 // Use wxHTML-based help controller?
1109 #define wxUSE_WXHTML_HELP 1
1110
1111 #define wxUSE_CONSTRAINTS 1
1112 // 0 for no window layout constraint system
1113
1114 #define wxUSE_SPLINES 1
1115 // 0 for no splines
1116
1117 #define wxUSE_MOUSEWHEEL 1
1118 // Include mouse wheel support
1119
1120 // ----------------------------------------------------------------------------
1121 // wxDC classes for various output formats
1122 // ----------------------------------------------------------------------------
1123
1124 // Set to 1 for PostScript device context.
1125 #define wxUSE_POSTSCRIPT 0
1126
1127 // Set to 1 to use font metric files in GetTextExtent
1128 #define wxUSE_AFM_FOR_POSTSCRIPT 1
1129
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.
1132 #define wxUSE_SVG 1
1133
1134 // ----------------------------------------------------------------------------
1135 // other compiler (mis)features
1136 // ----------------------------------------------------------------------------
1137
1138 // Set this to 0 if your compiler can't cope with omission of prototype
1139 // parameters.
1140 //
1141 // Default is 1.
1142 //
1143 // Recommended setting: 1 (should never need to set this to 0)
1144 #define REMOVE_UNUSED_ARG 1
1145
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
1149 // used anyhow.
1150 //
1151 // Default is 1.
1152 //
1153 // Recommended setting: whatever your compiler likes more
1154 #define wxUSE_IOSTREAMH 1
1155
1156 // ----------------------------------------------------------------------------
1157 // image format support
1158 // ----------------------------------------------------------------------------
1159
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.
1164 //
1165 // Some formats require an extra library which is included in wxWin sources
1166 // which is mentioned if it is the case.
1167
1168 // Set to 1 for wxImage support (recommended).
1169 #define wxUSE_IMAGE 1
1170
1171 // Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
1172 #define wxUSE_LIBPNG 1
1173
1174 // Set to 1 for JPEG format support (requires libjpeg)
1175 #define wxUSE_LIBJPEG 1
1176
1177 // Set to 1 for TIFF format support (requires libtiff)
1178 #define wxUSE_LIBTIFF 1
1179
1180 // Set to 1 for TGA format support (loading only)
1181 #define wxUSE_TGA 1
1182
1183 // Set to 1 for GIF format support
1184 #define wxUSE_GIF 1
1185
1186 // Set to 1 for PNM format support
1187 #define wxUSE_PNM 1
1188
1189 // Set to 1 for PCX format support
1190 #define wxUSE_PCX 1
1191
1192 // Set to 1 for IFF format support (Amiga format)
1193 #define wxUSE_IFF 0
1194
1195 // Set to 1 for XPM format support
1196 #define wxUSE_XPM 1
1197
1198 // Set to 1 for MS Icons and Cursors format support
1199 #define wxUSE_ICO_CUR 1
1200
1201 // Set to 1 to compile in wxPalette class
1202 #define wxUSE_PALETTE 1
1203
1204 // ----------------------------------------------------------------------------
1205 // wxUniversal-only options
1206 // ----------------------------------------------------------------------------
1207
1208 // Set to 1 to enable compilation of all themes, this is the default
1209 #define wxUSE_ALL_THEMES 1
1210
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
1213 // uses Win32 one
1214 #define wxUSE_THEME_GTK 0
1215 #define wxUSE_THEME_METAL 0
1216 #define wxUSE_THEME_MONO 0
1217 #define wxUSE_THEME_WIN32 0
1218
1219
1220 // ----------------------------------------------------------------------------
1221 // global settings
1222 // ----------------------------------------------------------------------------
1223
1224 // define this to 0 when building wxBase library - this can also be done from
1225 // makefile/project file overriding the value here
1226 #ifndef wxUSE_GUI
1227 #define wxUSE_GUI 1
1228 #endif // wxUSE_GUI
1229
1230 // ----------------------------------------------------------------------------
1231 // compatibility settings
1232 // ----------------------------------------------------------------------------
1233
1234 // This setting determines the compatibility with 2.6 API: set it to 0 to
1235 // flag all cases of using deprecated functions.
1236 //
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.
1240 //
1241 // Recommended setting: 0 (please update your code)
1242 #define WXWIN_COMPATIBILITY_2_6 0
1243
1244 // This setting determines the compatibility with 2.8 API: set it to 0 to
1245 // flag all cases of using deprecated functions.
1246 //
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.
1250 //
1251 // Recommended setting: 0 (please update your code)
1252 #define WXWIN_COMPATIBILITY_2_8 1
1253
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.
1257 //
1258 // Default is 0
1259 //
1260 // Recommended setting: 0
1261 #define wxDIALOG_UNIT_COMPATIBILITY 0
1262
1263 // ----------------------------------------------------------------------------
1264 // debugging settings
1265 // ----------------------------------------------------------------------------
1266
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.
1273 //
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.
1277
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.
1280 //
1281 // Default is 0
1282 //
1283 // Recommended setting: 0
1284 #define wxUSE_DEBUG_CONTEXT 0
1285
1286 // If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
1287 // __WXDEBUG__ is also defined.
1288 //
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
1291 //
1292 // Default is 0
1293 //
1294 // Recommended setting: 1 if you are not using a memory debugging tool, else 0
1295 #define wxUSE_MEMORY_TRACING 0
1296
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
1302 //
1303 // Default is 0
1304 //
1305 // Recommended setting: 0
1306 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
1307
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
1312 //
1313 // Default is 0
1314 //
1315 // Recommended setting: 0
1316 #define wxUSE_DEBUG_NEW_ALWAYS 0
1317
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.
1322 //
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)
1325 //
1326 // Default is 1
1327 //
1328 // Recommended setting: 1 if your compiler supports it.
1329 #define wxUSE_ON_FATAL_EXCEPTION 1
1330
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
1334 //
1335 // Default is 1 if supported by the compiler.
1336 //
1337 // Recommended setting: 1, set to 0 if your programs never crash
1338 #define wxUSE_STACKWALKER 1
1339
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.
1343 //
1344 // Default is 1 if supported by the compiler.
1345 //
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
1349
1350 // ----------------------------------------------------------------------------
1351 // Unicode support
1352 // ----------------------------------------------------------------------------
1353
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.
1357 //
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).
1361 //
1362 // Default is 0 (but only because of makefiles)
1363 //
1364 // Recommended setting: 1
1365 #ifndef wxUSE_UNICODE
1366 #define wxUSE_UNICODE 0
1367 #endif
1368
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
1372 // to Unicode.
1373 //
1374 // Default is 1
1375 //
1376 // Recommended setting: 1
1377 #define wxUSE_WCHAR_T 1
1378
1379 // ----------------------------------------------------------------------------
1380 // global features
1381 // ----------------------------------------------------------------------------
1382
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.
1389 //
1390 // Note that like wxUSE_THREADS this option is automatically set to 0 if
1391 // wxNO_EXCEPTIONS is defined.
1392 //
1393 // Default is 1
1394 //
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
1398
1399 // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
1400 //
1401 // Default is 0
1402 //
1403 // Recommended setting: 0 (this is still work in progress...)
1404 #define wxUSE_EXTENDED_RTTI 0
1405
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.
1409 //
1410 // Default is 0
1411 //
1412 // Recommended setting: YMMV
1413 #define wxUSE_STL 0
1414
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
1417 // you are doing.
1418 //
1419 // Default is 1
1420 //
1421 // Recommended setting: 1 (always)
1422 #define wxUSE_LOG 1
1423
1424 // Recommended setting: 1
1425 #define wxUSE_LOGWINDOW 1
1426
1427 // Recommended setting: 1
1428 #define wxUSE_LOGGUI 1
1429
1430 // Recommended setting: 1
1431 #define wxUSE_LOG_DIALOG 1
1432
1433 // Support for command line parsing using wxCmdLineParser class.
1434 //
1435 // Default is 1
1436 //
1437 // Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
1438 #define wxUSE_CMDLINE_PARSER 1
1439
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.
1445 //
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.
1449 //
1450 // Default is 1
1451 //
1452 // Recommended setting: 0 unless you do plan to develop MT applications
1453 #define wxUSE_THREADS 1
1454
1455 // If enabled, compiles wxWidgets streams classes
1456 //
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.
1460 //
1461 // Default is 1
1462 //
1463 // Recommended setting: 1 as setting it to 0 disables many other things
1464 #define wxUSE_STREAMS 1
1465
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.
1469 //
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.
1472 //
1473 // Default is 0
1474 //
1475 // Recommended setting: 1 if you use the standard streams anyhow and so
1476 // dependency on the standard streams library is not a
1477 // problem
1478 #define wxUSE_STD_IOSTREAM 0
1479
1480 // Enable conversion to standard C++ string if 1.
1481 //
1482 // Default is 1 for most compilers.
1483 //
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).
1487 //
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
1493 #else
1494 #define wxUSE_STD_STRING 1
1495 #endif
1496
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.
1502 //
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.
1506 //
1507 // Default is 1
1508 //
1509 // Recommended setting: 1 if you want to support multiple languages
1510 #define wxUSE_PRINTF_POS_PARAMS 1
1511
1512 // ----------------------------------------------------------------------------
1513 // non GUI features selection
1514 // ----------------------------------------------------------------------------
1515
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.
1519 //
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
1524 // off.
1525 //
1526 // Recommended setting: 1
1527 #define wxUSE_LONGLONG 1
1528
1529 // Set wxUSE_BASE64 to 1, to compile in Base64 support. This is required for
1530 // storing binary data in wxConfig on most platforms.
1531 //
1532 // Default is 1.
1533 //
1534 // Recommended setting: 1 (but can be safely disabled if you don't use it)
1535 #define wxUSE_BASE64 1
1536
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
1540 // applications
1541 //
1542 // Default is 1.
1543 //
1544 // Recommended setting: 1 (but can be safely disabled if you don't use it)
1545 #define wxUSE_CONSOLE_EVENTLOOP 1
1546
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.
1549 //
1550 // Default is 1
1551 //
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
1556
1557 // Use wxFSVolume class providing access to the configured/active mount points
1558 //
1559 // Default is 1
1560 //
1561 // Recommended setting: 1 (but may be safely disabled if you don't use it)
1562 #define wxUSE_FSVOLUME 1
1563
1564 // Use wxStandardPaths class which allows to retrieve some standard locations
1565 // in the file system
1566 //
1567 // Default is 1
1568 //
1569 // Recommended setting: 1 (may be disabled to save space, but not much)
1570 #define wxUSE_STDPATHS 1
1571
1572 // use wxTextBuffer class: required by wxTextFile
1573 #define wxUSE_TEXTBUFFER 1
1574
1575 // use wxTextFile class: requires wxFile and wxTextBuffer, required by
1576 // wxFileConfig
1577 #define wxUSE_TEXTFILE 1
1578
1579 // i18n support: _() macro, wxLocale class. Requires wxTextFile.
1580 #define wxUSE_INTL 1
1581
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).
1586 //
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.
1591 //
1592 // Requires: wxUSE_LONGLONG
1593 //
1594 // Default is 1
1595 //
1596 // Recommended setting: 1
1597 #define wxUSE_DATETIME 1
1598
1599 // Set wxUSE_TIMER to 1 to compile wxTimer class
1600 //
1601 // Default is 1
1602 //
1603 // Recommended setting: 1
1604 #define wxUSE_TIMER 1
1605
1606 // Use wxStopWatch clas.
1607 //
1608 // Default is 1
1609 //
1610 // Recommended setting: 1 (needed by wxSocket)
1611 #define wxUSE_STOPWATCH 1
1612
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.
1617 //
1618 // See also wxUSE_CONFIG_NATIVE below.
1619 //
1620 // Recommended setting: 1
1621 #define wxUSE_CONFIG 1
1622
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
1626 // Unix.
1627 //
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.
1632 //
1633 // Recommended setting: 1
1634 #define wxUSE_CONFIG_NATIVE 1
1635
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.
1639 //
1640 // Default is 1.
1641 //
1642 // Recommended setting: 1
1643 #define wxUSE_DIALUP_MANAGER 1
1644
1645 // Compile in classes for run-time DLL loading and function calling.
1646 // Required by wxUSE_DIALUP_MANAGER.
1647 //
1648 // This setting is for Win32 only
1649 //
1650 // Default is 1.
1651 //
1652 // Recommended setting: 1
1653 #define wxUSE_DYNLIB_CLASS 1
1654
1655 // experimental, don't use for now
1656 #define wxUSE_DYNAMIC_LOADER 1
1657
1658 // Set to 1 to use socket classes
1659 #define wxUSE_SOCKETS 1
1660
1661 // Set to 1 to enable virtual file systems (required by wxHTML)
1662 #define wxUSE_FILESYSTEM 1
1663
1664 // Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
1665 #define wxUSE_FS_ZIP 1
1666
1667 // Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
1668 #define wxUSE_FS_ARCHIVE 1
1669
1670 // Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
1671 #define wxUSE_FS_INET 1
1672
1673 // wxArchive classes for accessing archives such as zip and tar
1674 #define wxUSE_ARCHIVE_STREAMS 1
1675
1676 // Set to 1 to compile wxZipInput/OutputStream classes.
1677 #define wxUSE_ZIPSTREAM 1
1678
1679 // Set to 1 to compile wxTarInput/OutputStream classes.
1680 #define wxUSE_TARSTREAM 1
1681
1682 // Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
1683 // wxUSE_LIBPNG
1684 #define wxUSE_ZLIB 1
1685
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.
1689 //
1690 // Default is 1.
1691 //
1692 // Recommended setting: 1 unless you don't like the license terms (unlikely)
1693 #define wxUSE_APPLE_IEEE 1
1694
1695 // Joystick support class
1696 #define wxUSE_JOYSTICK 1
1697
1698 // wxFontEnumerator class
1699 #define wxUSE_FONTENUM 1
1700
1701 // wxFontMapper class
1702 #define wxUSE_FONTMAP 1
1703
1704 // wxMimeTypesManager class
1705 #define wxUSE_MIMETYPE 1
1706
1707 // wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
1708 // or wxURL you need to set this to 1.
1709 //
1710 // Default is 1.
1711 //
1712 // Recommended setting: 1
1713 #define wxUSE_PROTOCOL 1
1714
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
1719
1720 // Define this to use wxURL class.
1721 #define wxUSE_URL 1
1722
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.
1729 //
1730 // This code is experimental and subject to change.
1731 #define wxUSE_URL_NATIVE 0
1732
1733 // Support for wxVariant class used in several places throughout the library,
1734 // notably in wxDataViewCtrl API.
1735 //
1736 // Default is 1.
1737 //
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
1741
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.
1745 //
1746 // Default is 0
1747 //
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
1751
1752 // wxSystemOptions class
1753 #define wxUSE_SYSTEM_OPTIONS 1
1754
1755 // wxSound class
1756 #define wxUSE_SOUND 1
1757
1758 // Use wxMediaCtrl
1759 //
1760 // Default is 1.
1761 //
1762 // Recommended setting: 1
1763 #define wxUSE_MEDIACTRL 1
1764
1765 // Use GStreamer for Unix (req a lot of dependancies)
1766 //
1767 // Default is 0
1768 //
1769 // Recommended setting: 1 (wxMediaCtrl won't work by default without it)
1770 #define wxUSE_GSTREAMER 0
1771
1772 // Use wxWidget's XRC XML-based resource system. Recommended.
1773 //
1774 // Default is 1
1775 //
1776 // Recommended setting: 1 (requires wxUSE_XML)
1777 #define wxUSE_XRC 1
1778
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.
1781 //
1782 // Default is the same as wxUSE_XRC, i.e. 1 by default.
1783 //
1784 // Recommended setting: 1 (required by XRC)
1785 #define wxUSE_XML wxUSE_XRC
1786
1787 // Use wxWidget's AUI docking system
1788 //
1789 // Default is 1
1790 //
1791 // Recommended setting: 1
1792 #define wxUSE_AUI 1
1793
1794 // Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla.
1795 //
1796 // Default is 1
1797 //
1798 // Recommended setting: 1
1799 #define wxUSE_STC 1
1800
1801
1802 // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
1803 // 2D drawing API. (Still somewhat experimental)
1804 //
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.
1808 //
1809 // Default is 0
1810 //
1811 // Recommended setting: 1
1812 #ifndef wxUSE_GRAPHICS_CONTEXT
1813 #define wxUSE_GRAPHICS_CONTEXT 0
1814 #endif
1815
1816 // ----------------------------------------------------------------------------
1817 // Individual GUI controls
1818 // ----------------------------------------------------------------------------
1819
1820 // You must set wxUSE_CONTROLS to 1 if you are using any controls at all
1821 // (without it, wxControl class is not compiled)
1822 //
1823 // Default is 1
1824 //
1825 // Recommended setting: 1 (don't change except for very special programs)
1826 #define wxUSE_CONTROLS 1
1827
1828 // wxPopupWindow class is a top level transient window. It is currently used
1829 // to implement wxTipWindow
1830 //
1831 // Default is 1
1832 //
1833 // Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
1834 #define wxUSE_POPUPWIN 1
1835
1836 // wxTipWindow allows to implement the custom tooltips, it is used by the
1837 // context help classes. Requires wxUSE_POPUPWIN.
1838 //
1839 // Default is 1
1840 //
1841 // Recommended setting: 1 (may be set to 0)
1842 #define wxUSE_TIPWINDOW 1
1843
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.
1849 //
1850 // Default is 1
1851 //
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
1888
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.
1891 //
1892 // Default is 1
1893 //
1894 // Recommended setting: 1
1895 #define wxUSE_STATUSBAR 1
1896
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.
1900 //
1901 // Default is 1 for the platforms where native status bar is supported.
1902 //
1903 // Recommended setting: 1 (there is no advantage in using the generic one)
1904 #define wxUSE_NATIVE_STATUSBAR 1
1905
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.
1909 //
1910 // Default is 1 for all settings.
1911 //
1912 // Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
1913 #define wxUSE_TOOLBAR 1
1914 #define wxUSE_TOOLBAR_NATIVE 1
1915
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.
1920 //
1921 // Default is 1.
1922 //
1923 // Recommended setting: 1
1924 #define wxUSE_NOTEBOOK 1
1925
1926 // wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
1927 // the tabs
1928 //
1929 // Default is 1.
1930 //
1931 // Recommended setting: 1
1932 #define wxUSE_LISTBOOK 1
1933
1934 // wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
1935 // the tabs
1936 //
1937 // Default is 1.
1938 //
1939 // Recommended setting: 1
1940 #define wxUSE_CHOICEBOOK 1
1941
1942 // wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
1943 // the tabs
1944 //
1945 // Default is 1.
1946 //
1947 // Recommended setting: 1
1948 #define wxUSE_TREEBOOK 1
1949
1950 // wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
1951 // tabs
1952 //
1953 // Default is 1.
1954 //
1955 // Recommended setting: 1
1956 #define wxUSE_TOOLBOOK 1
1957
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.
1960 //
1961 // Default is 0.
1962 //
1963 // Recommended setting: 0 (use wxNotebook)
1964 #define wxUSE_TAB_DIALOG 0
1965
1966 // wxTaskBarIcon is a small notification icon shown in the system toolbar or
1967 // dock.
1968 //
1969 // Default is 1.
1970 //
1971 // Recommended setting: 1 (but can be set to 0 if you don't need it)
1972 #define wxUSE_TASKBARICON 1
1973
1974 // wxGrid class
1975 //
1976 // Default is 1, set to 0 to cut down compilation time and binaries size if you
1977 // don't use it.
1978 //
1979 // Recommended setting: 1
1980 //
1981 #define wxUSE_GRID 1
1982
1983 // wxMiniFrame class: a frame with narrow title bar
1984 //
1985 // Default is 1.
1986 //
1987 // Recommended setting: 1 (it doesn't cost almost anything)
1988 #define wxUSE_MINIFRAME 1
1989
1990 // wxComboCtrl and related classes: combobox with custom popup window and
1991 // not necessarily a listbox.
1992 //
1993 // Default is 1.
1994 //
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
1998
1999 // wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
2000 // items.
2001 //
2002 // Default is 1.
2003 //
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
2007
2008 // wxBitmapComboBox is a combobox that can have images in front of text items.
2009 //
2010 // Default is 1.
2011 //
2012 // Recommended setting: 1 but can be safely set to 0
2013 #define wxUSE_BITMAPCOMBOBOX 1
2014
2015 // ----------------------------------------------------------------------------
2016 // Miscellaneous GUI stuff
2017 // ----------------------------------------------------------------------------
2018
2019 // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
2020 #define wxUSE_ACCEL 1
2021
2022 // Hotkey support (currently Windows only)
2023 #define wxUSE_HOTKEY 1
2024
2025 // Use wxCaret: a class implementing a "cursor" in a text control (called caret
2026 // under Windows).
2027 //
2028 // Default is 1.
2029 //
2030 // Recommended setting: 1 (can be safely set to 0, not used by the library)
2031 #define wxUSE_CARET 1
2032
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
2035 // window lies.
2036 //
2037 // Default is 1.
2038 //
2039 // Recommended setting: 1 if you need it, can be safely set to 0 otherwise
2040 #define wxUSE_DISPLAY 1
2041
2042 // Miscellaneous geometry code: needed for Canvas library
2043 #define wxUSE_GEOMETRY 1
2044
2045 // Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
2046 // wxListCtrl.
2047 //
2048 // Default is 1.
2049 //
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
2053
2054 // Use wxMenu, wxMenuBar, wxMenuItem.
2055 //
2056 // Default is 1.
2057 //
2058 // Recommended setting: 1 (can't be disabled under MSW)
2059 #define wxUSE_MENUS 1
2060
2061 // Use wxSashWindow class.
2062 //
2063 // Default is 1.
2064 //
2065 // Recommended setting: 1
2066 #define wxUSE_SASH 1
2067
2068 // Use wxSplitterWindow class.
2069 //
2070 // Default is 1.
2071 //
2072 // Recommended setting: 1
2073 #define wxUSE_SPLITTER 1
2074
2075 // Use wxToolTip and wxWindow::Set/GetToolTip() methods.
2076 //
2077 // Default is 1.
2078 //
2079 // Recommended setting: 1
2080 #define wxUSE_TOOLTIPS 1
2081
2082 // wxValidator class and related methods
2083 #define wxUSE_VALIDATORS 1
2084
2085 // ----------------------------------------------------------------------------
2086 // common dialogs
2087 // ----------------------------------------------------------------------------
2088
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.
2092 //
2093 // Default is 1
2094 //
2095 // Recommended setting: 1 (unless it really doesn't work)
2096 #define wxUSE_COMMON_DIALOGS 1
2097
2098 // wxBusyInfo displays window with message when app is busy. Works in same way
2099 // as wxBusyCursor
2100 #define wxUSE_BUSYINFO 1
2101
2102 // Use single/multiple choice dialogs.
2103 //
2104 // Default is 1
2105 //
2106 // Recommended setting: 1 (used in the library itself)
2107 #define wxUSE_CHOICEDLG 1
2108
2109 // Use colour picker dialog
2110 //
2111 // Default is 1
2112 //
2113 // Recommended setting: 1
2114 #define wxUSE_COLOURDLG 1
2115
2116 // wxDirDlg class for getting a directory name from user
2117 #define wxUSE_DIRDLG 1
2118
2119 // TODO: setting to choose the generic or native one
2120
2121 // Use file open/save dialogs.
2122 //
2123 // Default is 1
2124 //
2125 // Recommended setting: 1 (used in many places in the library itself)
2126 #define wxUSE_FILEDLG 1
2127
2128 // Use find/replace dialogs.
2129 //
2130 // Default is 1
2131 //
2132 // Recommended setting: 1 (but may be safely set to 0)
2133 #define wxUSE_FINDREPLDLG 1
2134
2135 // Use font picker dialog
2136 //
2137 // Default is 1
2138 //
2139 // Recommended setting: 1 (used in the library itself)
2140 #define wxUSE_FONTDLG 1
2141
2142 // Use wxMessageDialog and wxMessageBox.
2143 //
2144 // Default is 1
2145 //
2146 // Recommended setting: 1 (used in the library itself)
2147 #define wxUSE_MSGDLG 1
2148
2149 // progress dialog class for lengthy operations
2150 #define wxUSE_PROGRESSDLG 1
2151
2152 // support for startup tips (wxShowTip &c)
2153 #define wxUSE_STARTUP_TIPS 1
2154
2155 // text entry dialog and wxGetTextFromUser function
2156 #define wxUSE_TEXTDLG 1
2157
2158 // number entry dialog
2159 #define wxUSE_NUMBERDLG 1
2160
2161 // splash screen class
2162 #define wxUSE_SPLASH 1
2163
2164 // wizards
2165 #define wxUSE_WIZARDDLG 1
2166
2167 // Compile in wxAboutBox() function showing the standard "About" dialog.
2168 //
2169 // Default is 1
2170 //
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
2174
2175 // ----------------------------------------------------------------------------
2176 // Metafiles support
2177 // ----------------------------------------------------------------------------
2178
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.
2188 //
2189 // Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
2190 //
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
2195
2196 // ----------------------------------------------------------------------------
2197 // Big GUI components
2198 // ----------------------------------------------------------------------------
2199
2200 // Set to 0 to disable MDI support.
2201 //
2202 // Requires wxUSE_NOTEBOOK under platforms other than MSW.
2203 //
2204 // Default is 1.
2205 //
2206 // Recommended setting: 1, can be safely set to 0.
2207 #define wxUSE_MDI 1
2208
2209 // Set to 0 to disable document/view architecture
2210 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
2211
2212 // Set to 0 to disable MDI document/view architecture
2213 //
2214 // Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
2215 #define wxUSE_MDI_ARCHITECTURE 1
2216
2217 // Set to 0 to disable print/preview architecture code
2218 #define wxUSE_PRINTING_ARCHITECTURE 1
2219
2220 // wxHTML sublibrary allows to display HTML in wxWindow programs and much,
2221 // much more.
2222 //
2223 // Default is 1.
2224 //
2225 // Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
2226 // smaller library.
2227 #define wxUSE_HTML 1
2228
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.
2234 //
2235 // Default is 0.
2236 //
2237 // Recommended setting: 1 if you intend to use OpenGL, 0 otherwise
2238 #define wxUSE_GLCANVAS 0
2239
2240 // wxRichTextCtrl allows editing of styled text.
2241 //
2242 // Default is 1.
2243 //
2244 // Recommended setting: 1, set to 0 if you want compile a
2245 // smaller library.
2246 #define wxUSE_RICHTEXT 1
2247
2248 // ----------------------------------------------------------------------------
2249 // Data transfer
2250 // ----------------------------------------------------------------------------
2251
2252 // Use wxClipboard class for clipboard copy/paste.
2253 //
2254 // Default is 1.
2255 //
2256 // Recommended setting: 1
2257 #define wxUSE_CLIPBOARD 1
2258
2259 // Use wxDataObject and related classes. Needed for clipboard and OLE drag and
2260 // drop
2261 //
2262 // Default is 1.
2263 //
2264 // Recommended setting: 1
2265 #define wxUSE_DATAOBJ 1
2266
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.
2270 //
2271 // Default is 1.
2272 //
2273 // Recommended setting: 1
2274 #define wxUSE_DRAG_AND_DROP 1
2275
2276 // Use wxAccessible for enhanced and customisable accessibility.
2277 // Depends on wxUSE_OLE.
2278 //
2279 // Default is 0.
2280 //
2281 // Recommended setting (at present): 0
2282 #define wxUSE_ACCESSIBILITY 0
2283
2284 // ----------------------------------------------------------------------------
2285 // miscellaneous settings
2286 // ----------------------------------------------------------------------------
2287
2288 // wxSingleInstanceChecker class allows to verify at startup if another program
2289 // instance is running (it is only available under Win32)
2290 //
2291 // Default is 1
2292 //
2293 // Recommended setting: 1 (the class is tiny, disabling it won't save much
2294 // space)
2295 #define wxUSE_SNGLINST_CHECKER 1
2296
2297 #define wxUSE_DRAGIMAGE 1
2298
2299 #define wxUSE_IPC 1
2300 // 0 for no interprocess comms
2301 #define wxUSE_HELP 1
2302 // 0 for no help facility
2303
2304 // Should we use MS HTML help for wxHelpController? If disabled, neither
2305 // wxCHMHelpController nor wxBestHelpController are available.
2306 //
2307 // Default is 1 under MSW, 0 is always used for the other platforms.
2308 //
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
2312
2313
2314 // Use wxHTML-based help controller?
2315 #define wxUSE_WXHTML_HELP 1
2316
2317 #define wxUSE_CONSTRAINTS 1
2318 // 0 for no window layout constraint system
2319
2320 #define wxUSE_SPLINES 1
2321 // 0 for no splines
2322
2323 #define wxUSE_MOUSEWHEEL 1
2324 // Include mouse wheel support
2325
2326 // ----------------------------------------------------------------------------
2327 // wxDC classes for various output formats
2328 // ----------------------------------------------------------------------------
2329
2330 // Set to 1 for PostScript device context.
2331 #define wxUSE_POSTSCRIPT 0
2332
2333 // Set to 1 to use font metric files in GetTextExtent
2334 #define wxUSE_AFM_FOR_POSTSCRIPT 1
2335
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.
2338 #define wxUSE_SVG 1
2339
2340 // ----------------------------------------------------------------------------
2341 // other compiler (mis)features
2342 // ----------------------------------------------------------------------------
2343
2344 // Set this to 0 if your compiler can't cope with omission of prototype
2345 // parameters.
2346 //
2347 // Default is 1.
2348 //
2349 // Recommended setting: 1 (should never need to set this to 0)
2350 #define REMOVE_UNUSED_ARG 1
2351
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
2355 // used anyhow.
2356 //
2357 // Default is 1.
2358 //
2359 // Recommended setting: whatever your compiler likes more
2360 #define wxUSE_IOSTREAMH 1
2361
2362 // ----------------------------------------------------------------------------
2363 // image format support
2364 // ----------------------------------------------------------------------------
2365
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.
2370 //
2371 // Some formats require an extra library which is included in wxWin sources
2372 // which is mentioned if it is the case.
2373
2374 // Set to 1 for wxImage support (recommended).
2375 #define wxUSE_IMAGE 1
2376
2377 // Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
2378 #define wxUSE_LIBPNG 1
2379
2380 // Set to 1 for JPEG format support (requires libjpeg)
2381 #define wxUSE_LIBJPEG 1
2382
2383 // Set to 1 for TIFF format support (requires libtiff)
2384 #define wxUSE_LIBTIFF 1
2385
2386 // Set to 1 for TGA format support (loading only)
2387 #define wxUSE_TGA 1
2388
2389 // Set to 1 for GIF format support
2390 #define wxUSE_GIF 1
2391
2392 // Set to 1 for PNM format support
2393 #define wxUSE_PNM 1
2394
2395 // Set to 1 for PCX format support
2396 #define wxUSE_PCX 1
2397
2398 // Set to 1 for IFF format support (Amiga format)
2399 #define wxUSE_IFF 0
2400
2401 // Set to 1 for XPM format support
2402 #define wxUSE_XPM 1
2403
2404 // Set to 1 for MS Icons and Cursors format support
2405 #define wxUSE_ICO_CUR 1
2406
2407 // Set to 1 to compile in wxPalette class
2408 #define wxUSE_PALETTE 1
2409
2410 // ----------------------------------------------------------------------------
2411 // wxUniversal-only options
2412 // ----------------------------------------------------------------------------
2413
2414 // Set to 1 to enable compilation of all themes, this is the default
2415 #define wxUSE_ALL_THEMES 1
2416
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
2419 // uses Win32 one
2420 #define wxUSE_THEME_GTK 0
2421 #define wxUSE_THEME_METAL 0
2422 #define wxUSE_THEME_MONO 0
2423 #define wxUSE_THEME_WIN32 0
2424
2425
2426 // ----------------------------------------------------------------------------
2427 // Windows-only settings
2428 // ----------------------------------------------------------------------------
2429
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).
2437 //
2438 // If your compiler doesn't have unicows.lib, you can get a version of it at
2439 // http://libunicows.sourceforge.net
2440 //
2441 // Default is 0
2442 //
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
2446 #endif
2447
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)
2450 //
2451 // Default is 0.
2452 //
2453 // Recommended setting: 0 unless you really have to use MFC
2454 #define wxUSE_MFC 0
2455
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.
2459 //
2460 // Default is 1.
2461 //
2462 // Recommended setting: 1
2463 #define wxUSE_OLE 1
2464
2465 // Set this to 1 to enable wxAutomationObject class.
2466 //
2467 // Default is 1.
2468 //
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
2472
2473 // Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
2474 // controls in wx.
2475 //
2476 // Default is 1.
2477 //
2478 // Recommended setting: 1, required by wxMediaCtrl
2479 #define wxUSE_ACTIVEX 1
2480
2481 // wxDC cacheing implementation
2482 #define wxUSE_DC_CACHEING 1
2483
2484 // Set this to 1 to enable wxDIB class used internally for manipulating
2485 // wxBitmap data.
2486 //
2487 // Default is 1, set it to 0 only if you don't use wxImage neither
2488 //
2489 // Recommended setting: 1 (without it conversion to/from wxImage won't work)
2490 #define wxUSE_WXDIB 1
2491
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
2495
2496 // Set this to 1 to compile in wxRegKey class.
2497 //
2498 // Default is 1
2499 //
2500 // Recommended setting: 1, this is used internally by wx in a few places
2501 #define wxUSE_REGKEY 1
2502
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).
2506 //
2507 // Default is 1 for compilers which support it
2508 //
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
2512
2513 // Set this to 1 to use extra features of richedit v2 and later controls
2514 //
2515 // Default is 1 for compilers which support it
2516 //
2517 // Recommended setting: 1
2518 #define wxUSE_RICHEDIT2 1
2519
2520 // Set this to 1 to enable support for the owner-drawn menu and listboxes. This
2521 // is required by wxUSE_CHECKLISTBOX.
2522 //
2523 // Default is 1.
2524 //
2525 // Recommended setting: 1, set to 0 for a small library size reduction
2526 #define wxUSE_OWNER_DRAWN 1
2527
2528 // Set to 1 to compile MS Windows XP theme engine support
2529 #define wxUSE_UXTHEME 1
2530
2531 // Set to 1 to use InkEdit control (Tablet PC), if available
2532 #define wxUSE_INKEDIT 0
2533
2534 // Set to 1 to enable .INI files based wxConfig implementation (wxIniConfig)
2535 //
2536 // Default is 0.
2537 //
2538 // Recommended setting: 0, nobody uses .INI files any more
2539 #define wxUSE_INICONF 0
2540
2541 // ----------------------------------------------------------------------------
2542 // Generic versions of native controls
2543 // ----------------------------------------------------------------------------
2544
2545 // Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
2546 // native wxDatePickerCtrl
2547 //
2548 // Default is 0.
2549 //
2550 // Recommended setting: 0, this is mainly used for testing
2551 #define wxUSE_DATEPICKCTRL_GENERIC 0
2552
2553 // ----------------------------------------------------------------------------
2554 // Crash debugging helpers
2555 // ----------------------------------------------------------------------------
2556
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)
2559 //
2560 // Default is 1 if supported by the compiler (VC++ and recent BC++ only).
2561 //
2562 // Recommended setting: 1, set to 0 if your programs never crash
2563 #define wxUSE_CRASHREPORT 1