update setup.h for univ
[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 // database classes
1136 // ----------------------------------------------------------------------------
1137
1138 // Define 1 to use ODBC classes
1139 #define wxUSE_ODBC 0
1140
1141 // For backward compatibility reasons, this parameter now only controls the
1142 // default scrolling method used by cursors. This default behavior can be
1143 // overriden by setting the second param of wxDB::wxDbGetConnection() or
1144 // wxDb() constructor to indicate whether the connection (and any wxDbTable()s
1145 // that use the connection) should support forward only scrolling of cursors,
1146 // or both forward and backward support for backward scrolling cursors is
1147 // dependent on the data source as well as the ODBC driver being used.
1148 #define wxODBC_FWD_ONLY_CURSORS 1
1149
1150 // Default is 0. Set to 1 to use the deprecated classes, enum types, function,
1151 // member variables. With a setting of 1, full backward compatibility with the
1152 // 2.0.x release is possible. It is STRONGLY recommended that this be set to 0,
1153 // as future development will be done only on the non-deprecated
1154 // functions/classes/member variables/etc.
1155 #define wxODBC_BACKWARD_COMPATABILITY 0
1156
1157 // ----------------------------------------------------------------------------
1158 // other compiler (mis)features
1159 // ----------------------------------------------------------------------------
1160
1161 // Set this to 0 if your compiler can't cope with omission of prototype
1162 // parameters.
1163 //
1164 // Default is 1.
1165 //
1166 // Recommended setting: 1 (should never need to set this to 0)
1167 #define REMOVE_UNUSED_ARG 1
1168
1169 // VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
1170 // them. Set to 1 for <iostream.h>, 0 for <iostream>. Note that VC++ 7.1
1171 // and later doesn't support wxUSE_IOSTREAMH == 1 and so <iostream> will be
1172 // used anyhow.
1173 //
1174 // Default is 1.
1175 //
1176 // Recommended setting: whatever your compiler likes more
1177 #define wxUSE_IOSTREAMH 1
1178
1179 // ----------------------------------------------------------------------------
1180 // image format support
1181 // ----------------------------------------------------------------------------
1182
1183 // wxImage supports many different image formats which can be configured at
1184 // compile-time. BMP is always supported, others are optional and can be safely
1185 // disabled if you don't plan to use images in such format sometimes saving
1186 // substantial amount of code in the final library.
1187 //
1188 // Some formats require an extra library which is included in wxWin sources
1189 // which is mentioned if it is the case.
1190
1191 // Set to 1 for wxImage support (recommended).
1192 #define wxUSE_IMAGE 1
1193
1194 // Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
1195 #define wxUSE_LIBPNG 1
1196
1197 // Set to 1 for JPEG format support (requires libjpeg)
1198 #define wxUSE_LIBJPEG 1
1199
1200 // Set to 1 for TIFF format support (requires libtiff)
1201 #define wxUSE_LIBTIFF 1
1202
1203 // Set to 1 for TGA format support (loading only)
1204 #define wxUSE_TGA 1
1205
1206 // Set to 1 for GIF format support
1207 #define wxUSE_GIF 1
1208
1209 // Set to 1 for PNM format support
1210 #define wxUSE_PNM 1
1211
1212 // Set to 1 for PCX format support
1213 #define wxUSE_PCX 1
1214
1215 // Set to 1 for IFF format support (Amiga format)
1216 #define wxUSE_IFF 0
1217
1218 // Set to 1 for XPM format support
1219 #define wxUSE_XPM 1
1220
1221 // Set to 1 for MS Icons and Cursors format support
1222 #define wxUSE_ICO_CUR 1
1223
1224 // Set to 1 to compile in wxPalette class
1225 #define wxUSE_PALETTE 1
1226
1227 // ----------------------------------------------------------------------------
1228 // wxUniversal-only options
1229 // ----------------------------------------------------------------------------
1230
1231 // Set to 1 to enable compilation of all themes, this is the default
1232 #define wxUSE_ALL_THEMES 1
1233
1234 // Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
1235 // is unset, if it is set these options are not used; notice that metal theme
1236 // uses Win32 one
1237 #define wxUSE_THEME_GTK 0
1238 #define wxUSE_THEME_METAL 0
1239 #define wxUSE_THEME_MONO 0
1240 #define wxUSE_THEME_WIN32 0
1241
1242
1243 // ----------------------------------------------------------------------------
1244 // global settings
1245 // ----------------------------------------------------------------------------
1246
1247 // define this to 0 when building wxBase library - this can also be done from
1248 // makefile/project file overriding the value here
1249 #ifndef wxUSE_GUI
1250 #define wxUSE_GUI 1
1251 #endif // wxUSE_GUI
1252
1253 // ----------------------------------------------------------------------------
1254 // compatibility settings
1255 // ----------------------------------------------------------------------------
1256
1257 // This setting determines the compatibility with 2.6 API: set it to 0 to
1258 // flag all cases of using deprecated functions.
1259 //
1260 // Default is 1 but please try building your code with 0 as the default will
1261 // change to 0 in the next version and the deprecated functions will disappear
1262 // in the version after it completely.
1263 //
1264 // Recommended setting: 0 (please update your code)
1265 #define WXWIN_COMPATIBILITY_2_6 0
1266
1267 // This setting determines the compatibility with 2.8 API: set it to 0 to
1268 // flag all cases of using deprecated functions.
1269 //
1270 // Default is 1 but please try building your code with 0 as the default will
1271 // change to 0 in the next version and the deprecated functions will disappear
1272 // in the version after it completely.
1273 //
1274 // Recommended setting: 0 (please update your code)
1275 #define WXWIN_COMPATIBILITY_2_8 1
1276
1277 // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
1278 // default system font is used for wxWindow::GetCharWidth/Height() instead of
1279 // the current font.
1280 //
1281 // Default is 0
1282 //
1283 // Recommended setting: 0
1284 #define wxDIALOG_UNIT_COMPATIBILITY 0
1285
1286 // ----------------------------------------------------------------------------
1287 // debugging settings
1288 // ----------------------------------------------------------------------------
1289
1290 // Generic comment about debugging settings: they are very useful if you don't
1291 // use any other memory leak detection tools such as Purify/BoundsChecker, but
1292 // are probably redundant otherwise. Also, Visual C++ CRT has the same features
1293 // as wxWidgets memory debugging subsystem built in since version 5.0 and you
1294 // may prefer to use it instead of built in memory debugging code because it is
1295 // faster and more fool proof.
1296 //
1297 // Using VC++ CRT memory debugging is enabled by default in debug mode
1298 // (__WXDEBUG__) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0)
1299 // and if __NO_VC_CRTDBG__ is not defined.
1300
1301 // If 1, enables wxDebugContext, for writing error messages to file, etc. If
1302 // __WXDEBUG__ is not defined, will still use the normal memory operators.
1303 //
1304 // Default is 0
1305 //
1306 // Recommended setting: 0
1307 #define wxUSE_DEBUG_CONTEXT 0
1308
1309 // If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
1310 // __WXDEBUG__ is also defined.
1311 //
1312 // WARNING: this code may not work with all architectures, especially if
1313 // alignment is an issue. This switch is currently ignored for mingw / cygwin
1314 //
1315 // Default is 0
1316 //
1317 // Recommended setting: 1 if you are not using a memory debugging tool, else 0
1318 #define wxUSE_MEMORY_TRACING 0
1319
1320 // In debug mode, cause new and delete to be redefined globally.
1321 // If this causes problems (e.g. link errors which is a common problem
1322 // especially if you use another library which also redefines the global new
1323 // and delete), set this to 0.
1324 // This switch is currently ignored for mingw / cygwin
1325 //
1326 // Default is 0
1327 //
1328 // Recommended setting: 0
1329 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
1330
1331 // In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If
1332 // this causes problems (e.g. link errors), set this to 0. You may need to set
1333 // this to 0 if using templates (at least for VC++). This switch is currently
1334 // ignored for mingw / cygwin / CodeWarrior
1335 //
1336 // Default is 0
1337 //
1338 // Recommended setting: 0
1339 #define wxUSE_DEBUG_NEW_ALWAYS 0
1340
1341 // wxHandleFatalExceptions() may be used to catch the program faults at run
1342 // time and, instead of terminating the program with a usual GPF message box,
1343 // call the user-defined wxApp::OnFatalException() function. If you set
1344 // wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work.
1345 //
1346 // This setting is for Win32 only and can only be enabled if your compiler
1347 // supports Win32 structured exception handling (currently only VC++ does)
1348 //
1349 // Default is 1
1350 //
1351 // Recommended setting: 1 if your compiler supports it.
1352 #define wxUSE_ON_FATAL_EXCEPTION 1
1353
1354 // Set this to 1 to be able to generate a human-readable (unlike
1355 // machine-readable minidump created by wxCrashReport::Generate()) stack back
1356 // trace when your program crashes using wxStackWalker
1357 //
1358 // Default is 1 if supported by the compiler.
1359 //
1360 // Recommended setting: 1, set to 0 if your programs never crash
1361 #define wxUSE_STACKWALKER 1
1362
1363 // Set this to 1 to compile in wxDebugReport class which allows you to create
1364 // and optionally upload to your web site a debug report consisting of back
1365 // trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
1366 //
1367 // Default is 1 if supported by the compiler.
1368 //
1369 // Recommended setting: 1, it is compiled into a separate library so there
1370 // is no overhead if you don't use it
1371 #define wxUSE_DEBUGREPORT 1
1372
1373 // ----------------------------------------------------------------------------
1374 // Unicode support
1375 // ----------------------------------------------------------------------------
1376
1377 // Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be
1378 // defined as wchar_t, wxString will use Unicode internally. If you set this
1379 // to 1, you must use wxT() macro for all literal strings in the program.
1380 //
1381 // Unicode is currently only fully supported under Windows NT/2000/XP
1382 // (Windows 9x doesn't support it and the programs compiled in Unicode mode
1383 // will not run under 9x -- but see wxUSE_UNICODE_MSLU below).
1384 //
1385 // Default is 0 (but only because of makefiles)
1386 //
1387 // Recommended setting: 1
1388 #ifndef wxUSE_UNICODE
1389 #define wxUSE_UNICODE 0
1390 #endif
1391
1392 // Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
1393 // compiling the program in Unicode mode. More precisely, it will be possible
1394 // to construct wxString from a wide (Unicode) string and convert any wxString
1395 // to Unicode.
1396 //
1397 // Default is 1
1398 //
1399 // Recommended setting: 1
1400 #define wxUSE_WCHAR_T 1
1401
1402 // ----------------------------------------------------------------------------
1403 // global features
1404 // ----------------------------------------------------------------------------
1405
1406 // Compile library in exception-safe mode? If set to 1, the library will try to
1407 // behave correctly in presence of exceptions (even though it still will not
1408 // use the exceptions itself) and notify the user code about any unhandled
1409 // exceptions. If set to 0, propagation of the exceptions through the library
1410 // code will lead to undefined behaviour -- but the code itself will be
1411 // slightly smaller and faster.
1412 //
1413 // Note that like wxUSE_THREADS this option is automatically set to 0 if
1414 // wxNO_EXCEPTIONS is defined.
1415 //
1416 // Default is 1
1417 //
1418 // Recommended setting: depends on whether you intend to use C++ exceptions
1419 // in your own code (1 if you do, 0 if you don't)
1420 #define wxUSE_EXCEPTIONS 1
1421
1422 // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
1423 //
1424 // Default is 0
1425 //
1426 // Recommended setting: 0 (this is still work in progress...)
1427 #define wxUSE_EXTENDED_RTTI 0
1428
1429 // Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from
1430 // std::list<Foo*> and std::vector<Foo*>, with a compatibility interface,
1431 // and for wxHashMap to be implemented with templates.
1432 //
1433 // Default is 0
1434 //
1435 // Recommended setting: YMMV
1436 #define wxUSE_STL 0
1437
1438 // Support for message/error logging. This includes wxLogXXX() functions and
1439 // wxLog and derived classes. Don't set this to 0 unless you really know what
1440 // you are doing.
1441 //
1442 // Default is 1
1443 //
1444 // Recommended setting: 1 (always)
1445 #define wxUSE_LOG 1
1446
1447 // Recommended setting: 1
1448 #define wxUSE_LOGWINDOW 1
1449
1450 // Recommended setting: 1
1451 #define wxUSE_LOGGUI 1
1452
1453 // Recommended setting: 1
1454 #define wxUSE_LOG_DIALOG 1
1455
1456 // Support for command line parsing using wxCmdLineParser class.
1457 //
1458 // Default is 1
1459 //
1460 // Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
1461 #define wxUSE_CMDLINE_PARSER 1
1462
1463 // Support for multithreaded applications: if 1, compile in thread classes
1464 // (thread.h) and make the library a bit more thread safe. Although thread
1465 // support is quite stable by now, you may still consider recompiling the
1466 // library without it if you have no use for it - this will result in a
1467 // somewhat smaller and faster operation.
1468 //
1469 // Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
1470 // to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
1471 // build/msw/config.* file this value will have no effect.
1472 //
1473 // Default is 1
1474 //
1475 // Recommended setting: 0 unless you do plan to develop MT applications
1476 #define wxUSE_THREADS 1
1477
1478 // If enabled, compiles wxWidgets streams classes
1479 //
1480 // wx stream classes are used for image IO, process IO redirection, network
1481 // protocols implementation and much more and so disabling this results in a
1482 // lot of other functionality being lost.
1483 //
1484 // Default is 1
1485 //
1486 // Recommended setting: 1 as setting it to 0 disables many other things
1487 #define wxUSE_STREAMS 1
1488
1489 // Use standard C++ streams if 1 instead of wx streams in some places. If
1490 // disabled (default), wx streams are used everywhere and wxWidgets doesn't
1491 // depend on the standard streams library.
1492 //
1493 // Notice that enabling this does not replace wx streams with std streams
1494 // everywhere, in a lot of places wx streams are used no matter what.
1495 //
1496 // Default is 0
1497 //
1498 // Recommended setting: 1 if you use the standard streams anyhow and so
1499 // dependency on the standard streams library is not a
1500 // problem
1501 #define wxUSE_STD_IOSTREAM 0
1502
1503 // Enable conversion to standard C++ string if 1.
1504 //
1505 // Default is 1 for most compilers.
1506 //
1507 // Currently the Digital Mars and Watcom compilers come without standard C++
1508 // library headers by default, wxUSE_STD_STRING can be set to 1 if you do have
1509 // them (e.g. from STLPort).
1510 //
1511 // VC++ 5.0 does include standard C++ library header, however they produce
1512 // many warnings that can't be turned off when compiled at warning level 4.
1513 #if defined(__DMC__) || defined(__WATCOMC__) \
1514 || (defined(_MSC_VER) && _MSC_VER < 1200)
1515 #define wxUSE_STD_STRING 0
1516 #else
1517 #define wxUSE_STD_STRING 1
1518 #endif
1519
1520 // Support for positional parameters (e.g. %1$d, %2$s ...) in wxVsnprintf.
1521 // Note that if the system's implementation does not support positional
1522 // parameters, setting this to 1 forces the use of the wxWidgets implementation
1523 // of wxVsnprintf. The standard vsnprintf() supports positional parameters on
1524 // many Unix systems but usually doesn't under Windows.
1525 //
1526 // Positional parameters are very useful when translating a program since using
1527 // them in formatting strings allow translators to correctly reorder the
1528 // translated sentences.
1529 //
1530 // Default is 1
1531 //
1532 // Recommended setting: 1 if you want to support multiple languages
1533 #define wxUSE_PRINTF_POS_PARAMS 1
1534
1535 // ----------------------------------------------------------------------------
1536 // non GUI features selection
1537 // ----------------------------------------------------------------------------
1538
1539 // Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit
1540 // integer which is implemented in terms of native 64 bit integers if any or
1541 // uses emulation otherwise.
1542 //
1543 // This class is required by wxDateTime and so you should enable it if you want
1544 // to use wxDateTime. For most modern platforms, it will use the native 64 bit
1545 // integers in which case (almost) all of its functions are inline and it
1546 // almost does not take any space, so there should be no reason to switch it
1547 // off.
1548 //
1549 // Recommended setting: 1
1550 #define wxUSE_LONGLONG 1
1551
1552 // Set wxUSE_BASE64 to 1, to compile in Base64 support. This is required for
1553 // storing binary data in wxConfig on most platforms.
1554 //
1555 // Default is 1.
1556 //
1557 // Recommended setting: 1 (but can be safely disabled if you don't use it)
1558 #define wxUSE_BASE64 1
1559
1560 // Set this to 1 to be able to use wxEventLoop even in console applications
1561 // (i.e. using base library only, without GUI). This is mostly useful for
1562 // processing socket events but is also necessary to use timers in console
1563 // applications
1564 //
1565 // Default is 1.
1566 //
1567 // Recommended setting: 1 (but can be safely disabled if you don't use it)
1568 #define wxUSE_CONSOLE_EVENTLOOP 1
1569
1570 // Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level
1571 // POSIX functions for file access, wxFFile uses ANSI C stdio.h functions.
1572 //
1573 // Default is 1
1574 //
1575 // Recommended setting: 1 (wxFile is highly recommended as it is required by
1576 // i18n code, wxFileConfig and others)
1577 #define wxUSE_FILE 1
1578 #define wxUSE_FFILE 1
1579
1580 // Use wxFSVolume class providing access to the configured/active mount points
1581 //
1582 // Default is 1
1583 //
1584 // Recommended setting: 1 (but may be safely disabled if you don't use it)
1585 #define wxUSE_FSVOLUME 1
1586
1587 // Use wxStandardPaths class which allows to retrieve some standard locations
1588 // in the file system
1589 //
1590 // Default is 1
1591 //
1592 // Recommended setting: 1 (may be disabled to save space, but not much)
1593 #define wxUSE_STDPATHS 1
1594
1595 // use wxTextBuffer class: required by wxTextFile
1596 #define wxUSE_TEXTBUFFER 1
1597
1598 // use wxTextFile class: requires wxFile and wxTextBuffer, required by
1599 // wxFileConfig
1600 #define wxUSE_TEXTFILE 1
1601
1602 // i18n support: _() macro, wxLocale class. Requires wxTextFile.
1603 #define wxUSE_INTL 1
1604
1605 // Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which
1606 // allow to manipulate dates, times and time intervals. wxDateTime replaces the
1607 // old wxTime and wxDate classes which are still provided for backwards
1608 // compatibility (and implemented in terms of wxDateTime).
1609 //
1610 // Note that this class is relatively new and is still officially in alpha
1611 // stage because some features are not yet (fully) implemented. It is already
1612 // quite useful though and should only be disabled if you are aiming at
1613 // absolutely minimal version of the library.
1614 //
1615 // Requires: wxUSE_LONGLONG
1616 //
1617 // Default is 1
1618 //
1619 // Recommended setting: 1
1620 #define wxUSE_DATETIME 1
1621
1622 // Set wxUSE_TIMER to 1 to compile wxTimer class
1623 //
1624 // Default is 1
1625 //
1626 // Recommended setting: 1
1627 #define wxUSE_TIMER 1
1628
1629 // Use wxStopWatch clas.
1630 //
1631 // Default is 1
1632 //
1633 // Recommended setting: 1 (needed by wxSocket)
1634 #define wxUSE_STOPWATCH 1
1635
1636 // Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
1637 // which allow the application to store its settings in the persistent
1638 // storage. Setting this to 1 will also enable on-demand creation of the
1639 // global config object in wxApp.
1640 //
1641 // See also wxUSE_CONFIG_NATIVE below.
1642 //
1643 // Recommended setting: 1
1644 #define wxUSE_CONFIG 1
1645
1646 // If wxUSE_CONFIG is 1, you may choose to use either the native config
1647 // classes under Windows (using .INI files under Win16 and the registry under
1648 // Win32) or the portable text file format used by the config classes under
1649 // Unix.
1650 //
1651 // Default is 1 to use native classes. Note that you may still use
1652 // wxFileConfig even if you set this to 1 - just the config object created by
1653 // default for the applications needs will be a wxRegConfig or wxIniConfig and
1654 // not wxFileConfig.
1655 //
1656 // Recommended setting: 1
1657 #define wxUSE_CONFIG_NATIVE 1
1658
1659 // If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows
1660 // to connect/disconnect from the network and be notified whenever the dial-up
1661 // network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER.
1662 //
1663 // Default is 1.
1664 //
1665 // Recommended setting: 1
1666 #define wxUSE_DIALUP_MANAGER 1
1667
1668 // Compile in classes for run-time DLL loading and function calling.
1669 // Required by wxUSE_DIALUP_MANAGER.
1670 //
1671 // This setting is for Win32 only
1672 //
1673 // Default is 1.
1674 //
1675 // Recommended setting: 1
1676 #define wxUSE_DYNLIB_CLASS 1
1677
1678 // experimental, don't use for now
1679 #define wxUSE_DYNAMIC_LOADER 1
1680
1681 // Set to 1 to use socket classes
1682 #define wxUSE_SOCKETS 1
1683
1684 // Set to 1 to enable virtual file systems (required by wxHTML)
1685 #define wxUSE_FILESYSTEM 1
1686
1687 // Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
1688 #define wxUSE_FS_ZIP 1
1689
1690 // Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
1691 #define wxUSE_FS_ARCHIVE 1
1692
1693 // Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
1694 #define wxUSE_FS_INET 1
1695
1696 // wxArchive classes for accessing archives such as zip and tar
1697 #define wxUSE_ARCHIVE_STREAMS 1
1698
1699 // Set to 1 to compile wxZipInput/OutputStream classes.
1700 #define wxUSE_ZIPSTREAM 1
1701
1702 // Set to 1 to compile wxTarInput/OutputStream classes.
1703 #define wxUSE_TARSTREAM 1
1704
1705 // Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
1706 // wxUSE_LIBPNG
1707 #define wxUSE_ZLIB 1
1708
1709 // If enabled, the code written by Apple will be used to write, in a portable
1710 // way, float on the disk. See extended.c for the license which is different
1711 // from wxWidgets one.
1712 //
1713 // Default is 1.
1714 //
1715 // Recommended setting: 1 unless you don't like the license terms (unlikely)
1716 #define wxUSE_APPLE_IEEE 1
1717
1718 // Joystick support class
1719 #define wxUSE_JOYSTICK 1
1720
1721 // wxFontEnumerator class
1722 #define wxUSE_FONTENUM 1
1723
1724 // wxFontMapper class
1725 #define wxUSE_FONTMAP 1
1726
1727 // wxMimeTypesManager class
1728 #define wxUSE_MIMETYPE 1
1729
1730 // wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
1731 // or wxURL you need to set this to 1.
1732 //
1733 // Default is 1.
1734 //
1735 // Recommended setting: 1
1736 #define wxUSE_PROTOCOL 1
1737
1738 // The settings for the individual URL schemes
1739 #define wxUSE_PROTOCOL_FILE 1
1740 #define wxUSE_PROTOCOL_FTP 1
1741 #define wxUSE_PROTOCOL_HTTP 1
1742
1743 // Define this to use wxURL class.
1744 #define wxUSE_URL 1
1745
1746 // Define this to use native platform url and protocol support.
1747 // Currently valid only for MS-Windows.
1748 // Note: if you set this to 1, you can open ftp/http/gopher sites
1749 // and obtain a valid input stream for these sites
1750 // even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.
1751 // Doing so reduces the code size.
1752 //
1753 // This code is experimental and subject to change.
1754 #define wxUSE_URL_NATIVE 0
1755
1756 // Support for wxVariant class used in several places throughout the library,
1757 // notably in wxDataViewCtrl API.
1758 //
1759 // Default is 1.
1760 //
1761 // Recommended setting: 1 unless you want to reduce the library size as much as
1762 // possible in which case setting this to 0 can gain up to 100KB.
1763 #define wxUSE_VARIANT 1
1764
1765 // Support for regular expression matching via wxRegEx class: enable this to
1766 // use POSIX regular expressions in your code. You need to compile regex
1767 // library from src/regex to use it under Windows.
1768 //
1769 // Default is 0
1770 //
1771 // Recommended setting: 1 if your compiler supports it, if it doesn't please
1772 // contribute us a makefile for src/regex for it
1773 #define wxUSE_REGEX 1
1774
1775 // wxSystemOptions class
1776 #define wxUSE_SYSTEM_OPTIONS 1
1777
1778 // wxSound class
1779 #define wxUSE_SOUND 1
1780
1781 // Use wxMediaCtrl
1782 //
1783 // Default is 1.
1784 //
1785 // Recommended setting: 1
1786 #define wxUSE_MEDIACTRL 1
1787
1788 // Use GStreamer for Unix (req a lot of dependancies)
1789 //
1790 // Default is 0
1791 //
1792 // Recommended setting: 1 (wxMediaCtrl won't work by default without it)
1793 #define wxUSE_GSTREAMER 0
1794
1795 // Use wxWidget's XRC XML-based resource system. Recommended.
1796 //
1797 // Default is 1
1798 //
1799 // Recommended setting: 1 (requires wxUSE_XML)
1800 #define wxUSE_XRC 1
1801
1802 // XML parsing classes. Note that their API will change in the future, so
1803 // using wxXmlDocument and wxXmlNode in your app is not recommended.
1804 //
1805 // Default is the same as wxUSE_XRC, i.e. 1 by default.
1806 //
1807 // Recommended setting: 1 (required by XRC)
1808 #define wxUSE_XML wxUSE_XRC
1809
1810 // Use wxWidget's AUI docking system
1811 //
1812 // Default is 1
1813 //
1814 // Recommended setting: 1
1815 #define wxUSE_AUI 1
1816
1817 // Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla.
1818 //
1819 // Default is 1
1820 //
1821 // Recommended setting: 1
1822 #define wxUSE_STC 1
1823
1824
1825 // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
1826 // 2D drawing API. (Still somewhat experimental)
1827 //
1828 // Please note that on Windows you will need to link with gdiplus.lib (use
1829 // USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your
1830 // application if you want it to be runnable on pre-XP systems.
1831 //
1832 // Default is 0
1833 //
1834 // Recommended setting: 1
1835 #ifndef wxUSE_GRAPHICS_CONTEXT
1836 #define wxUSE_GRAPHICS_CONTEXT 0
1837 #endif
1838
1839 // ----------------------------------------------------------------------------
1840 // Individual GUI controls
1841 // ----------------------------------------------------------------------------
1842
1843 // You must set wxUSE_CONTROLS to 1 if you are using any controls at all
1844 // (without it, wxControl class is not compiled)
1845 //
1846 // Default is 1
1847 //
1848 // Recommended setting: 1 (don't change except for very special programs)
1849 #define wxUSE_CONTROLS 1
1850
1851 // wxPopupWindow class is a top level transient window. It is currently used
1852 // to implement wxTipWindow
1853 //
1854 // Default is 1
1855 //
1856 // Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
1857 #define wxUSE_POPUPWIN 1
1858
1859 // wxTipWindow allows to implement the custom tooltips, it is used by the
1860 // context help classes. Requires wxUSE_POPUPWIN.
1861 //
1862 // Default is 1
1863 //
1864 // Recommended setting: 1 (may be set to 0)
1865 #define wxUSE_TIPWINDOW 1
1866
1867 // Each of the settings below corresponds to one wxWidgets control. They are
1868 // all switched on by default but may be disabled if you are sure that your
1869 // program (including any standard dialogs it can show!) doesn't need them and
1870 // if you desperately want to save some space. If you use any of these you must
1871 // set wxUSE_CONTROLS as well.
1872 //
1873 // Default is 1
1874 //
1875 // Recommended setting: 1
1876 #define wxUSE_ANIMATIONCTRL 1 // wxAnimationCtrl
1877 #define wxUSE_BUTTON 1 // wxButton
1878 #define wxUSE_BMPBUTTON 1 // wxBitmapButton
1879 #define wxUSE_CALENDARCTRL 1 // wxCalendarCtrl
1880 #define wxUSE_CHECKBOX 1 // wxCheckBox
1881 #define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
1882 #define wxUSE_CHOICE 1 // wxChoice
1883 #define wxUSE_COLLPANE 1 // wxCollapsiblePane
1884 #define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
1885 #define wxUSE_COMBOBOX 1 // wxComboBox
1886 #define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
1887 #define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
1888 #define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
1889 #define wxUSE_EDITABLELISTBOX 1 // wxEditableListBox
1890 #define wxUSE_FILECTRL 1 // wxFileCtrl
1891 #define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
1892 #define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
1893 #define wxUSE_GAUGE 1 // wxGauge
1894 #define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
1895 #define wxUSE_LISTBOX 1 // wxListBox
1896 #define wxUSE_LISTCTRL 1 // wxListCtrl
1897 #define wxUSE_RADIOBOX 1 // wxRadioBox
1898 #define wxUSE_RADIOBTN 1 // wxRadioButton
1899 #define wxUSE_SCROLLBAR 1 // wxScrollBar
1900 #define wxUSE_SEARCHCTRL 1 // wxSearchCtrl
1901 #define wxUSE_SLIDER 1 // wxSlider
1902 #define wxUSE_SPINBTN 1 // wxSpinButton
1903 #define wxUSE_SPINCTRL 1 // wxSpinCtrl
1904 #define wxUSE_STATBOX 1 // wxStaticBox
1905 #define wxUSE_STATLINE 1 // wxStaticLine
1906 #define wxUSE_STATTEXT 1 // wxStaticText
1907 #define wxUSE_STATBMP 1 // wxStaticBitmap
1908 #define wxUSE_TEXTCTRL 1 // wxTextCtrl
1909 #define wxUSE_TOGGLEBTN 1 // requires wxButton
1910 #define wxUSE_TREECTRL 1 // wxTreeCtrl
1911
1912 // Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR
1913 // below either wxStatusBar95 or a generic wxStatusBar will be used.
1914 //
1915 // Default is 1
1916 //
1917 // Recommended setting: 1
1918 #define wxUSE_STATUSBAR 1
1919
1920 // Two status bar implementations are available under Win32: the generic one
1921 // or the wrapper around native control. For native look and feel the native
1922 // version should be used.
1923 //
1924 // Default is 1 for the platforms where native status bar is supported.
1925 //
1926 // Recommended setting: 1 (there is no advantage in using the generic one)
1927 #define wxUSE_NATIVE_STATUSBAR 1
1928
1929 // wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
1930 // classes at all. Otherwise, use the native toolbar class unless
1931 // wxUSE_TOOLBAR_NATIVE is 0.
1932 //
1933 // Default is 1 for all settings.
1934 //
1935 // Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
1936 #define wxUSE_TOOLBAR 1
1937 #define wxUSE_TOOLBAR_NATIVE 1
1938
1939 // wxNotebook is a control with several "tabs" located on one of its sides. It
1940 // may be used to logically organise the data presented to the user instead of
1941 // putting everything in one huge dialog. It replaces wxTabControl and related
1942 // classes of wxWin 1.6x.
1943 //
1944 // Default is 1.
1945 //
1946 // Recommended setting: 1
1947 #define wxUSE_NOTEBOOK 1
1948
1949 // wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
1950 // the tabs
1951 //
1952 // Default is 1.
1953 //
1954 // Recommended setting: 1
1955 #define wxUSE_LISTBOOK 1
1956
1957 // wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
1958 // the tabs
1959 //
1960 // Default is 1.
1961 //
1962 // Recommended setting: 1
1963 #define wxUSE_CHOICEBOOK 1
1964
1965 // wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
1966 // the tabs
1967 //
1968 // Default is 1.
1969 //
1970 // Recommended setting: 1
1971 #define wxUSE_TREEBOOK 1
1972
1973 // wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
1974 // tabs
1975 //
1976 // Default is 1.
1977 //
1978 // Recommended setting: 1
1979 #define wxUSE_TOOLBOOK 1
1980
1981 // wxTabDialog is a generic version of wxNotebook but it is incompatible with
1982 // the new class. It shouldn't be used in new code.
1983 //
1984 // Default is 0.
1985 //
1986 // Recommended setting: 0 (use wxNotebook)
1987 #define wxUSE_TAB_DIALOG 0
1988
1989 // wxTaskBarIcon is a small notification icon shown in the system toolbar or
1990 // dock.
1991 //
1992 // Default is 1.
1993 //
1994 // Recommended setting: 1 (but can be set to 0 if you don't need it)
1995 #define wxUSE_TASKBARICON 1
1996
1997 // wxGrid class
1998 //
1999 // Default is 1, set to 0 to cut down compilation time and binaries size if you
2000 // don't use it.
2001 //
2002 // Recommended setting: 1
2003 //
2004 #define wxUSE_GRID 1
2005
2006 // wxMiniFrame class: a frame with narrow title bar
2007 //
2008 // Default is 1.
2009 //
2010 // Recommended setting: 1 (it doesn't cost almost anything)
2011 #define wxUSE_MINIFRAME 1
2012
2013 // wxComboCtrl and related classes: combobox with custom popup window and
2014 // not necessarily a listbox.
2015 //
2016 // Default is 1.
2017 //
2018 // Recommended setting: 1 but can be safely set to 0 except for wxUniv where it
2019 // it used by wxComboBox
2020 #define wxUSE_COMBOCTRL 1
2021
2022 // wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
2023 // items.
2024 //
2025 // Default is 1.
2026 //
2027 // Recommended setting: 1 but can be safely set to 0, except where it is
2028 // needed as a base class for generic wxBitmapComboBox.
2029 #define wxUSE_ODCOMBOBOX 1
2030
2031 // wxBitmapComboBox is a combobox that can have images in front of text items.
2032 //
2033 // Default is 1.
2034 //
2035 // Recommended setting: 1 but can be safely set to 0
2036 #define wxUSE_BITMAPCOMBOBOX 1
2037
2038 // ----------------------------------------------------------------------------
2039 // Miscellaneous GUI stuff
2040 // ----------------------------------------------------------------------------
2041
2042 // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
2043 #define wxUSE_ACCEL 1
2044
2045 // Hotkey support (currently Windows only)
2046 #define wxUSE_HOTKEY 1
2047
2048 // Use wxCaret: a class implementing a "cursor" in a text control (called caret
2049 // under Windows).
2050 //
2051 // Default is 1.
2052 //
2053 // Recommended setting: 1 (can be safely set to 0, not used by the library)
2054 #define wxUSE_CARET 1
2055
2056 // Use wxDisplay class: it allows enumerating all displays on a system and
2057 // their geometries as well as finding the display on which the given point or
2058 // window lies.
2059 //
2060 // Default is 1.
2061 //
2062 // Recommended setting: 1 if you need it, can be safely set to 0 otherwise
2063 #define wxUSE_DISPLAY 1
2064
2065 // Miscellaneous geometry code: needed for Canvas library
2066 #define wxUSE_GEOMETRY 1
2067
2068 // Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
2069 // wxListCtrl.
2070 //
2071 // Default is 1.
2072 //
2073 // Recommended setting: 1 (set it to 0 if you don't use any of the controls
2074 // enumerated above, then this class is mostly useless too)
2075 #define wxUSE_IMAGLIST 1
2076
2077 // Use wxMenu, wxMenuBar, wxMenuItem.
2078 //
2079 // Default is 1.
2080 //
2081 // Recommended setting: 1 (can't be disabled under MSW)
2082 #define wxUSE_MENUS 1
2083
2084 // Use wxSashWindow class.
2085 //
2086 // Default is 1.
2087 //
2088 // Recommended setting: 1
2089 #define wxUSE_SASH 1
2090
2091 // Use wxSplitterWindow class.
2092 //
2093 // Default is 1.
2094 //
2095 // Recommended setting: 1
2096 #define wxUSE_SPLITTER 1
2097
2098 // Use wxToolTip and wxWindow::Set/GetToolTip() methods.
2099 //
2100 // Default is 1.
2101 //
2102 // Recommended setting: 1
2103 #define wxUSE_TOOLTIPS 1
2104
2105 // wxValidator class and related methods
2106 #define wxUSE_VALIDATORS 1
2107
2108 // ----------------------------------------------------------------------------
2109 // common dialogs
2110 // ----------------------------------------------------------------------------
2111
2112 // On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g.
2113 // file selector, printer dialog). Switching this off also switches off the
2114 // printing architecture and interactive wxPrinterDC.
2115 //
2116 // Default is 1
2117 //
2118 // Recommended setting: 1 (unless it really doesn't work)
2119 #define wxUSE_COMMON_DIALOGS 1
2120
2121 // wxBusyInfo displays window with message when app is busy. Works in same way
2122 // as wxBusyCursor
2123 #define wxUSE_BUSYINFO 1
2124
2125 // Use single/multiple choice dialogs.
2126 //
2127 // Default is 1
2128 //
2129 // Recommended setting: 1 (used in the library itself)
2130 #define wxUSE_CHOICEDLG 1
2131
2132 // Use colour picker dialog
2133 //
2134 // Default is 1
2135 //
2136 // Recommended setting: 1
2137 #define wxUSE_COLOURDLG 1
2138
2139 // wxDirDlg class for getting a directory name from user
2140 #define wxUSE_DIRDLG 1
2141
2142 // TODO: setting to choose the generic or native one
2143
2144 // Use file open/save dialogs.
2145 //
2146 // Default is 1
2147 //
2148 // Recommended setting: 1 (used in many places in the library itself)
2149 #define wxUSE_FILEDLG 1
2150
2151 // Use find/replace dialogs.
2152 //
2153 // Default is 1
2154 //
2155 // Recommended setting: 1 (but may be safely set to 0)
2156 #define wxUSE_FINDREPLDLG 1
2157
2158 // Use font picker dialog
2159 //
2160 // Default is 1
2161 //
2162 // Recommended setting: 1 (used in the library itself)
2163 #define wxUSE_FONTDLG 1
2164
2165 // Use wxMessageDialog and wxMessageBox.
2166 //
2167 // Default is 1
2168 //
2169 // Recommended setting: 1 (used in the library itself)
2170 #define wxUSE_MSGDLG 1
2171
2172 // progress dialog class for lengthy operations
2173 #define wxUSE_PROGRESSDLG 1
2174
2175 // support for startup tips (wxShowTip &c)
2176 #define wxUSE_STARTUP_TIPS 1
2177
2178 // text entry dialog and wxGetTextFromUser function
2179 #define wxUSE_TEXTDLG 1
2180
2181 // number entry dialog
2182 #define wxUSE_NUMBERDLG 1
2183
2184 // splash screen class
2185 #define wxUSE_SPLASH 1
2186
2187 // wizards
2188 #define wxUSE_WIZARDDLG 1
2189
2190 // Compile in wxAboutBox() function showing the standard "About" dialog.
2191 //
2192 // Default is 1
2193 //
2194 // Recommended setting: 1 but can be set to 0 to save some space if you don't
2195 // use this function
2196 #define wxUSE_ABOUTDLG 1
2197
2198 // ----------------------------------------------------------------------------
2199 // Metafiles support
2200 // ----------------------------------------------------------------------------
2201
2202 // Windows supports the graphics format known as metafile which is, though not
2203 // portable, is widely used under Windows and so is supported by wxWin (under
2204 // Windows only, of course). Win16 (Win3.1) used the so-called "Window
2205 // MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
2206 // Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
2207 // default, WMFs will be used under Win16 and EMFs under Win32. This may be
2208 // changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
2209 // wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
2210 // in any metafile related classes at all.
2211 //
2212 // Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
2213 //
2214 // Recommended setting: default or 0 for everything for portable programs.
2215 #define wxUSE_METAFILE 1
2216 #define wxUSE_ENH_METAFILE 1
2217 #define wxUSE_WIN_METAFILES_ALWAYS 0
2218
2219 // ----------------------------------------------------------------------------
2220 // Big GUI components
2221 // ----------------------------------------------------------------------------
2222
2223 // Set to 0 to disable MDI support.
2224 //
2225 // Requires wxUSE_NOTEBOOK under platforms other than MSW.
2226 //
2227 // Default is 1.
2228 //
2229 // Recommended setting: 1, can be safely set to 0.
2230 #define wxUSE_MDI 1
2231
2232 // Set to 0 to disable document/view architecture
2233 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
2234
2235 // Set to 0 to disable MDI document/view architecture
2236 //
2237 // Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
2238 #define wxUSE_MDI_ARCHITECTURE 1
2239
2240 // Set to 0 to disable print/preview architecture code
2241 #define wxUSE_PRINTING_ARCHITECTURE 1
2242
2243 // wxHTML sublibrary allows to display HTML in wxWindow programs and much,
2244 // much more.
2245 //
2246 // Default is 1.
2247 //
2248 // Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
2249 // smaller library.
2250 #define wxUSE_HTML 1
2251
2252 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL
2253 // headers and libraries to be able to compile the library with wxUSE_GLCANVAS
2254 // set to 1. Note that for some compilers (notably Microsoft Visual C++) you
2255 // will need to manually add opengl32.lib and glu32.lib to the list of
2256 // libraries linked with your program if you use OpenGL.
2257 //
2258 // Default is 0.
2259 //
2260 // Recommended setting: 1 if you intend to use OpenGL, 0 otherwise
2261 #define wxUSE_GLCANVAS 0
2262
2263 // wxRichTextCtrl allows editing of styled text.
2264 //
2265 // Default is 1.
2266 //
2267 // Recommended setting: 1, set to 0 if you want compile a
2268 // smaller library.
2269 #define wxUSE_RICHTEXT 1
2270
2271 // ----------------------------------------------------------------------------
2272 // Data transfer
2273 // ----------------------------------------------------------------------------
2274
2275 // Use wxClipboard class for clipboard copy/paste.
2276 //
2277 // Default is 1.
2278 //
2279 // Recommended setting: 1
2280 #define wxUSE_CLIPBOARD 1
2281
2282 // Use wxDataObject and related classes. Needed for clipboard and OLE drag and
2283 // drop
2284 //
2285 // Default is 1.
2286 //
2287 // Recommended setting: 1
2288 #define wxUSE_DATAOBJ 1
2289
2290 // Use wxDropTarget and wxDropSource classes for drag and drop (this is
2291 // different from "built in" drag and drop in wxTreeCtrl which is always
2292 // available). Requires wxUSE_DATAOBJ.
2293 //
2294 // Default is 1.
2295 //
2296 // Recommended setting: 1
2297 #define wxUSE_DRAG_AND_DROP 1
2298
2299 // Use wxAccessible for enhanced and customisable accessibility.
2300 // Depends on wxUSE_OLE.
2301 //
2302 // Default is 0.
2303 //
2304 // Recommended setting (at present): 0
2305 #define wxUSE_ACCESSIBILITY 0
2306
2307 // ----------------------------------------------------------------------------
2308 // miscellaneous settings
2309 // ----------------------------------------------------------------------------
2310
2311 // wxSingleInstanceChecker class allows to verify at startup if another program
2312 // instance is running (it is only available under Win32)
2313 //
2314 // Default is 1
2315 //
2316 // Recommended setting: 1 (the class is tiny, disabling it won't save much
2317 // space)
2318 #define wxUSE_SNGLINST_CHECKER 1
2319
2320 #define wxUSE_DRAGIMAGE 1
2321
2322 #define wxUSE_IPC 1
2323 // 0 for no interprocess comms
2324 #define wxUSE_HELP 1
2325 // 0 for no help facility
2326
2327 // Should we use MS HTML help for wxHelpController? If disabled, neither
2328 // wxCHMHelpController nor wxBestHelpController are available.
2329 //
2330 // Default is 1 under MSW, 0 is always used for the other platforms.
2331 //
2332 // Recommended setting: 1, only set to 0 if you have trouble compiling
2333 // wxCHMHelpController (could be a problem with really ancient compilers)
2334 #define wxUSE_MS_HTML_HELP 1
2335
2336
2337 // Use wxHTML-based help controller?
2338 #define wxUSE_WXHTML_HELP 1
2339
2340 #define wxUSE_CONSTRAINTS 1
2341 // 0 for no window layout constraint system
2342
2343 #define wxUSE_SPLINES 1
2344 // 0 for no splines
2345
2346 #define wxUSE_MOUSEWHEEL 1
2347 // Include mouse wheel support
2348
2349 // ----------------------------------------------------------------------------
2350 // wxDC classes for various output formats
2351 // ----------------------------------------------------------------------------
2352
2353 // Set to 1 for PostScript device context.
2354 #define wxUSE_POSTSCRIPT 0
2355
2356 // Set to 1 to use font metric files in GetTextExtent
2357 #define wxUSE_AFM_FOR_POSTSCRIPT 1
2358
2359 // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
2360 // to create fiels in SVG (Scalable Vector Graphics) format.
2361 #define wxUSE_SVG 1
2362
2363 // ----------------------------------------------------------------------------
2364 // database classes
2365 // ----------------------------------------------------------------------------
2366
2367 // Define 1 to use ODBC classes
2368 #define wxUSE_ODBC 0
2369
2370 // For backward compatibility reasons, this parameter now only controls the
2371 // default scrolling method used by cursors. This default behavior can be
2372 // overriden by setting the second param of wxDB::wxDbGetConnection() or
2373 // wxDb() constructor to indicate whether the connection (and any wxDbTable()s
2374 // that use the connection) should support forward only scrolling of cursors,
2375 // or both forward and backward support for backward scrolling cursors is
2376 // dependent on the data source as well as the ODBC driver being used.
2377 #define wxODBC_FWD_ONLY_CURSORS 1
2378
2379 // Default is 0. Set to 1 to use the deprecated classes, enum types, function,
2380 // member variables. With a setting of 1, full backward compatibility with the
2381 // 2.0.x release is possible. It is STRONGLY recommended that this be set to 0,
2382 // as future development will be done only on the non-deprecated
2383 // functions/classes/member variables/etc.
2384 #define wxODBC_BACKWARD_COMPATABILITY 0
2385
2386 // ----------------------------------------------------------------------------
2387 // other compiler (mis)features
2388 // ----------------------------------------------------------------------------
2389
2390 // Set this to 0 if your compiler can't cope with omission of prototype
2391 // parameters.
2392 //
2393 // Default is 1.
2394 //
2395 // Recommended setting: 1 (should never need to set this to 0)
2396 #define REMOVE_UNUSED_ARG 1
2397
2398 // VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
2399 // them. Set to 1 for <iostream.h>, 0 for <iostream>. Note that VC++ 7.1
2400 // and later doesn't support wxUSE_IOSTREAMH == 1 and so <iostream> will be
2401 // used anyhow.
2402 //
2403 // Default is 1.
2404 //
2405 // Recommended setting: whatever your compiler likes more
2406 #define wxUSE_IOSTREAMH 1
2407
2408 // ----------------------------------------------------------------------------
2409 // image format support
2410 // ----------------------------------------------------------------------------
2411
2412 // wxImage supports many different image formats which can be configured at
2413 // compile-time. BMP is always supported, others are optional and can be safely
2414 // disabled if you don't plan to use images in such format sometimes saving
2415 // substantial amount of code in the final library.
2416 //
2417 // Some formats require an extra library which is included in wxWin sources
2418 // which is mentioned if it is the case.
2419
2420 // Set to 1 for wxImage support (recommended).
2421 #define wxUSE_IMAGE 1
2422
2423 // Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
2424 #define wxUSE_LIBPNG 1
2425
2426 // Set to 1 for JPEG format support (requires libjpeg)
2427 #define wxUSE_LIBJPEG 1
2428
2429 // Set to 1 for TIFF format support (requires libtiff)
2430 #define wxUSE_LIBTIFF 1
2431
2432 // Set to 1 for TGA format support (loading only)
2433 #define wxUSE_TGA 1
2434
2435 // Set to 1 for GIF format support
2436 #define wxUSE_GIF 1
2437
2438 // Set to 1 for PNM format support
2439 #define wxUSE_PNM 1
2440
2441 // Set to 1 for PCX format support
2442 #define wxUSE_PCX 1
2443
2444 // Set to 1 for IFF format support (Amiga format)
2445 #define wxUSE_IFF 0
2446
2447 // Set to 1 for XPM format support
2448 #define wxUSE_XPM 1
2449
2450 // Set to 1 for MS Icons and Cursors format support
2451 #define wxUSE_ICO_CUR 1
2452
2453 // Set to 1 to compile in wxPalette class
2454 #define wxUSE_PALETTE 1
2455
2456 // ----------------------------------------------------------------------------
2457 // wxUniversal-only options
2458 // ----------------------------------------------------------------------------
2459
2460 // Set to 1 to enable compilation of all themes, this is the default
2461 #define wxUSE_ALL_THEMES 1
2462
2463 // Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
2464 // is unset, if it is set these options are not used; notice that metal theme
2465 // uses Win32 one
2466 #define wxUSE_THEME_GTK 0
2467 #define wxUSE_THEME_METAL 0
2468 #define wxUSE_THEME_MONO 0
2469 #define wxUSE_THEME_WIN32 0
2470
2471
2472 // ----------------------------------------------------------------------------
2473 // Windows-only settings
2474 // ----------------------------------------------------------------------------
2475
2476 // Set wxUSE_UNICODE_MSLU to 1 if you're compiling wxWidgets in Unicode mode
2477 // and want to run your programs under Windows 9x and not only NT/2000/XP.
2478 // This setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see
2479 // http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx). Note
2480 // that you will have to modify the makefiles to include unicows.lib import
2481 // library as the first library (see installation instructions in install.txt
2482 // to learn how to do it when building the library or samples).
2483 //
2484 // If your compiler doesn't have unicows.lib, you can get a version of it at
2485 // http://libunicows.sourceforge.net
2486 //
2487 // Default is 0
2488 //
2489 // Recommended setting: 0 (1 if you want to deploy Unicode apps on 9x systems)
2490 #ifndef wxUSE_UNICODE_MSLU
2491 #define wxUSE_UNICODE_MSLU 0
2492 #endif
2493
2494 // Set this to 1 if you want to use wxWidgets and MFC in the same program. This
2495 // will override some other settings (see below)
2496 //
2497 // Default is 0.
2498 //
2499 // Recommended setting: 0 unless you really have to use MFC
2500 #define wxUSE_MFC 0
2501
2502 // Set this to 1 for generic OLE support: this is required for drag-and-drop,
2503 // clipboard, OLE Automation. Only set it to 0 if your compiler is very old and
2504 // can't compile/doesn't have the OLE headers.
2505 //
2506 // Default is 1.
2507 //
2508 // Recommended setting: 1
2509 #define wxUSE_OLE 1
2510
2511 // Set this to 1 to enable wxAutomationObject class.
2512 //
2513 // Default is 1.
2514 //
2515 // Recommended setting: 1 if you need to control other applications via OLE
2516 // Automation, can be safely set to 0 otherwise
2517 #define wxUSE_OLE_AUTOMATION 1
2518
2519 // Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
2520 // controls in wx.
2521 //
2522 // Default is 1.
2523 //
2524 // Recommended setting: 1, required by wxMediaCtrl
2525 #define wxUSE_ACTIVEX 1
2526
2527 // wxDC cacheing implementation
2528 #define wxUSE_DC_CACHEING 1
2529
2530 // Set this to 1 to enable wxDIB class used internally for manipulating
2531 // wxBitmap data.
2532 //
2533 // Default is 1, set it to 0 only if you don't use wxImage neither
2534 //
2535 // Recommended setting: 1 (without it conversion to/from wxImage won't work)
2536 #define wxUSE_WXDIB 1
2537
2538 // Set to 0 to disable PostScript print/preview architecture code under Windows
2539 // (just use Windows printing).
2540 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
2541
2542 // Set this to 1 to compile in wxRegKey class.
2543 //
2544 // Default is 1
2545 //
2546 // Recommended setting: 1, this is used internally by wx in a few places
2547 #define wxUSE_REGKEY 1
2548
2549 // Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH
2550 // which allows to put more than ~32Kb of text in it even under Win9x (NT
2551 // doesn't have such limitation).
2552 //
2553 // Default is 1 for compilers which support it
2554 //
2555 // Recommended setting: 1, only set it to 0 if your compiler doesn't have
2556 // or can't compile <richedit.h>
2557 #define wxUSE_RICHEDIT 1
2558
2559 // Set this to 1 to use extra features of richedit v2 and later controls
2560 //
2561 // Default is 1 for compilers which support it
2562 //
2563 // Recommended setting: 1
2564 #define wxUSE_RICHEDIT2 1
2565
2566 // Set this to 1 to enable support for the owner-drawn menu and listboxes. This
2567 // is required by wxUSE_CHECKLISTBOX.
2568 //
2569 // Default is 1.
2570 //
2571 // Recommended setting: 1, set to 0 for a small library size reduction
2572 #define wxUSE_OWNER_DRAWN 1
2573
2574 // Set to 1 to compile MS Windows XP theme engine support
2575 #define wxUSE_UXTHEME 1
2576
2577 // Set to 1 to use InkEdit control (Tablet PC), if available
2578 #define wxUSE_INKEDIT 0
2579
2580 // Set to 1 to enable .INI files based wxConfig implementation (wxIniConfig)
2581 //
2582 // Default is 0.
2583 //
2584 // Recommended setting: 0, nobody uses .INI files any more
2585 #define wxUSE_INICONF 0
2586
2587 // ----------------------------------------------------------------------------
2588 // Generic versions of native controls
2589 // ----------------------------------------------------------------------------
2590
2591 // Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
2592 // native wxDatePickerCtrl
2593 //
2594 // Default is 0.
2595 //
2596 // Recommended setting: 0, this is mainly used for testing
2597 #define wxUSE_DATEPICKCTRL_GENERIC 0
2598
2599 // ----------------------------------------------------------------------------
2600 // Crash debugging helpers
2601 // ----------------------------------------------------------------------------
2602
2603 // Set this to 1 to be able to use wxCrashReport::Generate() to create mini
2604 // dumps of your program when it crashes (or at any other moment)
2605 //
2606 // Default is 1 if supported by the compiler (VC++ and recent BC++ only).
2607 //
2608 // Recommended setting: 1, set to 0 if your programs never crash
2609 #define wxUSE_CRASHREPORT 1