Changes between Version 8 and Version 9 of pkg-wxpython


Ignore:
Timestamp:
Oct 20, 2011, 8:53:00 AM (13 years ago)
Author:
martinl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pkg-wxpython

    v8 v9  
    1818== Packaging process ==
    1919
    20 Not sure after 2 years.  Although #85 suggests otherwise, I still have a build directory, which matches the wx DLLs found in {{{bin/}}}.
    21 FWIW:
    22 
    23 {{{
    24 diff --exclude-from=wxPython-src-2.8.9.1/exclude -Nur orig/wxPython-src-2.8.9.1/ wxPython-src-2.8.9.1/
    25 diff '--exclude-from=wxPython-src-2.8.9.1/exclude' -Nur orig/wxPython-src-2.8.9.1//build/msw/config.vc wxPython-src-2.8.9.1//build/msw/config.vc
    26 --- orig/wxPython-src-2.8.9.1//build/msw/config.vc      2008-05-31 08:03:55.000000000 +0200
    27 +++ wxPython-src-2.8.9.1//build/msw/config.vc   2009-06-25 23:18:20.000000000 +0200
    28 @@ -32,19 +32,19 @@
    29  CPP = $(CC) /EP /nologo
    30  
    31  # What type of library to build? [0,1]
    32 -SHARED = 0
    33 +SHARED = 1
    34  
    35  # Build wxUniversal instead of native port? [0,1]
    36  WXUNIV = 0
    37  
    38  # Compile Unicode build of wxWidgets? [0,1]
    39 -UNICODE = 0
    40 +UNICODE = 1
    41  
    42  # Use MSLU library when building Unicode version. [0,1]
    43 -MSLU = 0
    44 +MSLU = 1
    45  
    46  # Type of compiled binaries [debug,release]
    47 -BUILD = debug
    48 +BUILD = release
    49  
    50  # The target processor architecture must be specified when it is not X86.
    51  # This does not affect the compiler output, so you still need to make sure
    52 @@ -90,7 +90,7 @@
    53  USE_RICHTEXT = 1
    54  
    55  # Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
    56 -USE_OPENGL = 0
    57 +USE_OPENGL = 1
    58  
    59  # Build ODBC database classes (USE_GUI must be 1)? [0,1]
    60  USE_ODBC = 0
    61 @@ -108,13 +108,13 @@
    62  USE_THREADS = 1
    63  
    64  # Link with gdiplus.lib? (Needed for wxGraphicsContext, will also set wxUSE_GRAPHICS_CONTEXT) [0,1]
    65 -USE_GDIPLUS = 0
    66 +USE_GDIPLUS = 1
    67  
    68  # Is this official build by wxWidgets developers? [0,1]
    69 -OFFICIAL_BUILD = 0
    70 +OFFICIAL_BUILD = 1
    71  
    72  # Use this to name your customized DLLs differently
    73 -VENDOR = custom
    74 +VENDOR =
    75  
    76  # 
    77  WX_FLAVOUR =
    78 diff '--exclude-from=wxPython-src-2.8.9.1/exclude' -Nur orig/wxPython-src-2.8.9.1//exclude wxPython-src-2.8.9.1//exclude
    79 --- orig/wxPython-src-2.8.9.1//exclude  1970-01-01 01:00:00.000000000 +0100
    80 +++ wxPython-src-2.8.9.1//exclude       2009-04-12 11:59:21.000000000 +0200
    81 @@ -0,0 +1,17 @@
    82 +*.obj
    83 +*.dll
    84 +*.pch
    85 +*.pdb
    86 +*.exp
    87 +*.lib
    88 +*.res
    89 +*.pyc
    90 +*.pyd
    91 +*.py
    92 +*.manifest
    93 +*.mo
    94 +rcdefs.h
    95 +*~
    96 +lib.win32-2.5
    97 +build.unicode
    98 +wx.pth
    99 diff '--exclude-from=wxPython-src-2.8.9.1/exclude' -Nur orig/wxPython-src-2.8.9.1//include/wx/defs.h wxPython-src-2.8.9.1//include/wx/defs.h
    100 --- orig/wxPython-src-2.8.9.1//include/wx/defs.h        2008-05-12 06:26:45.000000000 +0200
    101 +++ wxPython-src-2.8.9.1//include/wx/defs.h     2009-01-30 23:31:51.000000000 +0100
    102 @@ -350,11 +350,11 @@
    103      #define wx_truncate_cast(t, x) wx_truncate_cast_impl<t>(x)
    104  
    105  #elif defined(__cplusplus) && defined(__VISUALC__) && __VISUALC__ >= 1310
    106 -    template <typename T, typename X>
    107 -    inline T wx_truncate_cast_impl(X x)
    108 +    template <typename wxT, typename wxX>
    109 +    inline wxT wx_truncate_cast_impl(wxX x)
    110      {
    111          #pragma warning(push)
    112 -        /* conversion from 'X' to 'T', possible loss of data */
    113 +        /* conversion from 'wxX' to 'wxT', possible loss of data */
    114          #pragma warning(disable: 4267)
    115  
    116          return x;
    117 diff '--exclude-from=wxPython-src-2.8.9.1/exclude' -Nur orig/wxPython-src-2.8.9.1//include/wx/msw/setup.h wxPython-src-2.8.9.1//include/wx/msw/setup.h
    118 --- orig/wxPython-src-2.8.9.1//include/wx/msw/setup.h   1970-01-01 01:00:00.000000000 +0100
    119 +++ wxPython-src-2.8.9.1//include/wx/msw/setup.h        2009-01-31 00:33:52.000000000 +0100
    120 @@ -0,0 +1,1349 @@
    121 +/////////////////////////////////////////////////////////////////////////////
    122 +// Name:        wx/msw/setup.h
    123 +// Purpose:     Configuration for the library
    124 +// Author:      Julian Smart
    125 +// Modified by:
    126 +// Created:     01/02/97
    127 +// RCS-ID:      $Id: setup0.h 51451 2008-01-29 23:11:55Z VZ $
    128 +// Copyright:   (c) Julian Smart
    129 +// Licence:     wxWindows licence
    130 +/////////////////////////////////////////////////////////////////////////////
    131 +
    132 +#ifndef _WX_SETUP_H_
    133 +#define _WX_SETUP_H_
    134 +
    135 +/* --- start common options --- */
    136 +// ----------------------------------------------------------------------------
    137 +// global settings
    138 +// ----------------------------------------------------------------------------
    139 +
    140 +// define this to 0 when building wxBase library - this can also be done from
    141 +// makefile/project file overriding the value here
    142 +#ifndef wxUSE_GUI
    143 +    #define wxUSE_GUI            1
    144 +#endif // wxUSE_GUI
    145 +
    146 +// ----------------------------------------------------------------------------
    147 +// compatibility settings
    148 +// ----------------------------------------------------------------------------
    149 +
    150 +// This setting determines the compatibility with 2.4 API: set it to 1 to
    151 +// enable it but please consider updating your code instead.
    152 +//
    153 +// Default is 0
    154 +//
    155 +// Recommended setting: 0 (please update your code)
    156 +#define WXWIN_COMPATIBILITY_2_4 0
    157 +
    158 +// This setting determines the compatibility with 2.6 API: set it to 0 to
    159 +// flag all cases of using deprecated functions.
    160 +//
    161 +// Default is 1 but please try building your code with 0 as the default will
    162 +// change to 0 in the next version and the deprecated functions will disappear
    163 +// in the version after it completely.
    164 +//
    165 +// Recommended setting: 0 (please update your code)
    166 +#define WXWIN_COMPATIBILITY_2_6 1
    167 +
    168 +// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
    169 +// default system font is used for wxWindow::GetCharWidth/Height() instead of
    170 +// the current font.
    171 +//
    172 +// Default is 0
    173 +//
    174 +// Recommended setting: 0
    175 +#define wxDIALOG_UNIT_COMPATIBILITY   0
    176 +
    177 +// ----------------------------------------------------------------------------
    178 +// debugging settings
    179 +// ----------------------------------------------------------------------------
    180 +
    181 +// Generic comment about debugging settings: they are very useful if you don't
    182 +// use any other memory leak detection tools such as Purify/BoundsChecker, but
    183 +// are probably redundant otherwise. Also, Visual C++ CRT has the same features
    184 +// as wxWidgets memory debugging subsystem built in since version 5.0 and you
    185 +// may prefer to use it instead of built in memory debugging code because it is
    186 +// faster and more fool proof.
    187 +//
    188 +// Using VC++ CRT memory debugging is enabled by default in debug mode
    189 +// (__WXDEBUG__) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0)
    190 +// and if __NO_VC_CRTDBG__ is not defined.
    191 +
    192 +// If 1, enables wxDebugContext, for writing error messages to file, etc. If
    193 +// __WXDEBUG__ is not defined, will still use the normal memory operators.
    194 +//
    195 +// Default is 0
    196 +//
    197 +// Recommended setting: 0
    198 +#define wxUSE_DEBUG_CONTEXT 0
    199 +
    200 +// If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
    201 +// __WXDEBUG__ is also defined.
    202 +//
    203 +// WARNING: this code may not work with all architectures, especially if
    204 +// alignment is an issue. This switch is currently ignored for mingw / cygwin
    205 +//
    206 +// Default is 0
    207 +//
    208 +// Recommended setting: 1 if you are not using a memory debugging tool, else 0
    209 +#define wxUSE_MEMORY_TRACING 0
    210 +
    211 +// In debug mode, cause new and delete to be redefined globally.
    212 +// If this causes problems (e.g. link errors which is a common problem
    213 +// especially if you use another library which also redefines the global new
    214 +// and delete), set this to 0.
    215 +// This switch is currently ignored for mingw / cygwin
    216 +//
    217 +// Default is 0
    218 +//
    219 +// Recommended setting: 0
    220 +#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
    221 +
    222 +// In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If
    223 +// this causes problems (e.g. link errors), set this to 0. You may need to set
    224 +// this to 0 if using templates (at least for VC++). This switch is currently
    225 +// ignored for mingw / cygwin / CodeWarrior
    226 +//
    227 +// Default is 0
    228 +//
    229 +// Recommended setting: 0
    230 +#define wxUSE_DEBUG_NEW_ALWAYS 0
    231 +
    232 +// wxHandleFatalExceptions() may be used to catch the program faults at run
    233 +// time and, instead of terminating the program with a usual GPF message box,
    234 +// call the user-defined wxApp::OnFatalException() function. If you set
    235 +// wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work.
    236 +//
    237 +// This setting is for Win32 only and can only be enabled if your compiler
    238 +// supports Win32 structured exception handling (currently only VC++ does)
    239 +//
    240 +// Default is 1
    241 +//
    242 +// Recommended setting: 1 if your compiler supports it.
    243 +#define wxUSE_ON_FATAL_EXCEPTION 1
    244 +
    245 +// Set this to 1 to be able to generate a human-readable (unlike
    246 +// machine-readable minidump created by wxCrashReport::Generate()) stack back
    247 +// trace when your program crashes using wxStackWalker
    248 +//
    249 +// Default is 1 if supported by the compiler.
    250 +//
    251 +// Recommended setting: 1, set to 0 if your programs never crash
    252 +#define wxUSE_STACKWALKER 1
    253 +
    254 +// Set this to 1 to compile in wxDebugReport class which allows you to create
    255 +// and optionally upload to your web site a debug report consisting of back
    256 +// trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
    257 +//
    258 +// Default is 1 if supported by the compiler.
    259 +//
    260 +// Recommended setting: 1, it is compiled into a separate library so there
    261 +//                         is no overhead if you don't use it
    262 +#define wxUSE_DEBUGREPORT 0
    263 +
    264 +// ----------------------------------------------------------------------------
    265 +// Unicode support
    266 +// ----------------------------------------------------------------------------
    267 +
    268 +// Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be
    269 +// defined as wchar_t, wxString will use Unicode internally. If you set this
    270 +// to 1, you must use wxT() macro for all literal strings in the program.
    271 +//
    272 +// Unicode is currently only fully supported under Windows NT/2000/XP
    273 +// (Windows 9x doesn't support it and the programs compiled in Unicode mode
    274 +// will not run under 9x -- but see wxUSE_UNICODE_MSLU below).
    275 +//
    276 +// Default is 0
    277 +//
    278 +// Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP)
    279 +#ifndef wxUSE_UNICODE
    280 +    #define wxUSE_UNICODE 1
    281 +#endif
    282 +
    283 +// Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
    284 +// compiling the program in Unicode mode. More precisely, it will be possible
    285 +// to construct wxString from a wide (Unicode) string and convert any wxString
    286 +// to Unicode.
    287 +//
    288 +// Default is 1
    289 +//
    290 +// Recommended setting: 1
    291 +#define wxUSE_WCHAR_T 1
    292 +
    293 +// ----------------------------------------------------------------------------
    294 +// global features
    295 +// ----------------------------------------------------------------------------
    296 +
    297 +// Compile library in exception-safe mode? If set to 1, the library will try to
    298 +// behave correctly in presence of exceptions (even though it still will not
    299 +// use the exceptions itself) and notify the user code about any unhandled
    300 +// exceptions. If set to 0, propagation of the exceptions through the library
    301 +// code will lead to undefined behaviour -- but the code itself will be
    302 +// slightly smaller and faster.
    303 +//
    304 +// Note that like wxUSE_THREADS this option is automatically set to 0 if
    305 +// wxNO_EXCEPTIONS is defined.
    306 +//
    307 +// Default is 1
    308 +//
    309 +// Recommended setting: depends on whether you intend to use C++ exceptions
    310 +//                      in your own code (1 if you do, 0 if you don't)
    311 +#define wxUSE_EXCEPTIONS    0
    312 +
    313 +// Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
    314 +//
    315 +// Default is 0
    316 +//
    317 +// Recommended setting: 0 (this is still work in progress...)
    318 +#define wxUSE_EXTENDED_RTTI 0
    319 +
    320 +// Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from
    321 +// std::list<Foo*> and std::vector<Foo*>, with a compatibility interface,
    322 +// and for wxHashMap to be implemented with templates.
    323 +//
    324 +// Default is 0
    325 +//
    326 +// Recommended setting: YMMV
    327 +#define wxUSE_STL 0
    328 +
    329 +// Support for message/error logging. This includes wxLogXXX() functions and
    330 +// wxLog and derived classes. Don't set this to 0 unless you really know what
    331 +// you are doing.
    332 +//
    333 +// Default is 1
    334 +//
    335 +// Recommended setting: 1 (always)
    336 +#define wxUSE_LOG 1
    337 +
    338 +// Recommended setting: 1
    339 +#define wxUSE_LOGWINDOW 1
    340 +
    341 +// Recommended setting: 1
    342 +#define wxUSE_LOGGUI 1
    343 +
    344 +// Recommended setting: 1
    345 +#define wxUSE_LOG_DIALOG 1
    346 +
    347 +// Support for command line parsing using wxCmdLineParser class.
    348 +//
    349 +// Default is 1
    350 +//
    351 +// Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
    352 +#define wxUSE_CMDLINE_PARSER 1
    353 +
    354 +// Support for multithreaded applications: if 1, compile in thread classes
    355 +// (thread.h) and make the library a bit more thread safe. Although thread
    356 +// support is quite stable by now, you may still consider recompiling the
    357 +// library without it if you have no use for it - this will result in a
    358 +// somewhat smaller and faster operation.
    359 +//
    360 +// Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
    361 +// to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
    362 +// build/msw/config.* file this value will have no effect.
    363 +//
    364 +// Default is 1
    365 +//
    366 +// Recommended setting: 0 unless you do plan to develop MT applications
    367 +#define wxUSE_THREADS 1
    368 +
    369 +// If enabled, compiles wxWidgets streams classes
    370 +//
    371 +// wx stream classes are used for image IO, process IO redirection, network
    372 +// protocols implementation and much more and so disabling this results in a
    373 +// lot of other functionality being lost.
    374 +//
    375 +// Default is 1
    376 +//
    377 +// Recommended setting: 1 as setting it to 0 disables many other things
    378 +#define wxUSE_STREAMS       1
    379 +
    380 +// Use standard C++ streams if 1 instead of wx streams in some places. If
    381 +// disabled (default), wx streams are used everywhere and wxWidgets doesn't
    382 +// depend on the standard streams library.
    383 +//
    384 +// Notice that enabling this does not replace wx streams with std streams
    385 +// everywhere, in a lot of places wx streams are used no matter what.
    386 +//
    387 +// Default is 0
    388 +//
    389 +// Recommended setting: 1 if you use the standard streams anyhow and so
    390 +//                      dependency on the standard streams library is not a
    391 +//                      problem
    392 +#define wxUSE_STD_IOSTREAM  0
    393 +
    394 +// Enable conversion to standard C++ string if 1.
    395 +//
    396 +// Default is 1 for most compilers.
    397 +//
    398 +// Currently the Digital Mars and Watcom compilers come without standard C++
    399 +// library headers by default, wxUSE_STD_STRING can be set to 1 if you do have
    400 +// them (e.g. from STLPort).
    401 +//
    402 +// VC++ 5.0 does include standard C++ library header, however they produce
    403 +// many warnings that can't be turned off when compiled at warning level 4.
    404 +#if defined(__DMC__) || defined(__WATCOMC__) \
    405 +        || (defined(_MSC_VER) && _MSC_VER < 1200)
    406 +    #define wxUSE_STD_STRING  0
    407 +#else
    408 +    #define wxUSE_STD_STRING  1
    409 +#endif
    410 +
    411 +// Support for positional parameters (e.g. %1$d, %2$s ...) in wxVsnprintf.
    412 +// Note that if the system's implementation does not support positional
    413 +// parameters, setting this to 1 forces the use of the wxWidgets implementation
    414 +// of wxVsnprintf. The standard vsnprintf() supports positional parameters on
    415 +// many Unix systems but usually doesn't under Windows.
    416 +//
    417 +// Positional parameters are very useful when translating a program since using
    418 +// them in formatting strings allow translators to correctly reorder the
    419 +// translated sentences.
    420 +//
    421 +// Default is 1
    422 +//
    423 +// Recommended setting: 1 if you want to support multiple languages
    424 +#define wxUSE_PRINTF_POS_PARAMS      1
    425 +
    426 +// ----------------------------------------------------------------------------
    427 +// non GUI features selection
    428 +// ----------------------------------------------------------------------------
    429 +
    430 +// Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit
    431 +// integer which is implemented in terms of native 64 bit integers if any or
    432 +// uses emulation otherwise.
    433 +//
    434 +// This class is required by wxDateTime and so you should enable it if you want
    435 +// to use wxDateTime. For most modern platforms, it will use the native 64 bit
    436 +// integers in which case (almost) all of its functions are inline and it
    437 +// almost does not take any space, so there should be no reason to switch it
    438 +// off.
    439 +//
    440 +// Recommended setting: 1
    441 +#define wxUSE_LONGLONG      1
    442 +
    443 +// Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level
    444 +// POSIX functions for file access, wxFFile uses ANSI C stdio.h functions.
    445 +//
    446 +// Default is 1
    447 +//
    448 +// Recommended setting: 1 (wxFile is highly recommended as it is required by
    449 +// i18n code, wxFileConfig and others)
    450 +#define wxUSE_FILE          1
    451 +#define wxUSE_FFILE         1
    452 +
    453 +// Use wxFSVolume class providing access to the configured/active mount points
    454 +//
    455 +// Default is 1
    456 +//
    457 +// Recommended setting: 1 (but may be safely disabled if you don't use it)
    458 +#define wxUSE_FSVOLUME      1
    459 +
    460 +// Use wxStandardPaths class which allows to retrieve some standard locations
    461 +// in the file system
    462 +//
    463 +// Default is 1
    464 +//
    465 +// Recommended setting: 1 (may be disabled to save space, but not much)
    466 +#define wxUSE_STDPATHS      1
    467 +
    468 +// use wxTextBuffer class: required by wxTextFile
    469 +#define wxUSE_TEXTBUFFER    1
    470 +
    471 +// use wxTextFile class: requires wxFile and wxTextBuffer, required by
    472 +// wxFileConfig
    473 +#define wxUSE_TEXTFILE      1
    474 +
    475 +// i18n support: _() macro, wxLocale class. Requires wxTextFile.
    476 +#define wxUSE_INTL          1
    477 +
    478 +// Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which
    479 +// allow to manipulate dates, times and time intervals. wxDateTime replaces the
    480 +// old wxTime and wxDate classes which are still provided for backwards
    481 +// compatibility (and implemented in terms of wxDateTime).
    482 +//
    483 +// Note that this class is relatively new and is still officially in alpha
    484 +// stage because some features are not yet (fully) implemented. It is already
    485 +// quite useful though and should only be disabled if you are aiming at
    486 +// absolutely minimal version of the library.
    487 +//
    488 +// Requires: wxUSE_LONGLONG
    489 +//
    490 +// Default is 1
    491 +//
    492 +// Recommended setting: 1
    493 +#define wxUSE_DATETIME      1
    494 +
    495 +// Set wxUSE_TIMER to 1 to compile wxTimer class
    496 +//
    497 +// Default is 1
    498 +//
    499 +// Recommended setting: 1
    500 +#define wxUSE_TIMER         1
    501 +
    502 +// Use wxStopWatch clas.
    503 +//
    504 +// Default is 1
    505 +//
    506 +// Recommended setting: 1 (needed by wxSocket)
    507 +#define wxUSE_STOPWATCH     1
    508 +
    509 +// Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
    510 +// which allow the application to store its settings in the persistent
    511 +// storage. Setting this to 1 will also enable on-demand creation of the
    512 +// global config object in wxApp.
    513 +//
    514 +// See also wxUSE_CONFIG_NATIVE below.
    515 +//
    516 +// Recommended setting: 1
    517 +#define wxUSE_CONFIG        1
    518 +
    519 +// If wxUSE_CONFIG is 1, you may choose to use either the native config
    520 +// classes under Windows (using .INI files under Win16 and the registry under
    521 +// Win32) or the portable text file format used by the config classes under
    522 +// Unix.
    523 +//
    524 +// Default is 1 to use native classes. Note that you may still use
    525 +// wxFileConfig even if you set this to 1 - just the config object created by
    526 +// default for the applications needs will be a wxRegConfig or wxIniConfig and
    527 +// not wxFileConfig.
    528 +//
    529 +// Recommended setting: 1
    530 +#define wxUSE_CONFIG_NATIVE   1
    531 +
    532 +// If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows
    533 +// to connect/disconnect from the network and be notified whenever the dial-up
    534 +// network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER.
    535 +//
    536 +// Default is 1.
    537 +//
    538 +// Recommended setting: 1
    539 +#define wxUSE_DIALUP_MANAGER   0
    540 +
    541 +// Compile in classes for run-time DLL loading and function calling.
    542 +// Required by wxUSE_DIALUP_MANAGER.
    543 +//
    544 +// This setting is for Win32 only
    545 +//
    546 +// Default is 1.
    547 +//
    548 +// Recommended setting: 1
    549 +#define wxUSE_DYNLIB_CLASS    1
    550 +
    551 +// experimental, don't use for now
    552 +#define wxUSE_DYNAMIC_LOADER  1
    553 +
    554 +// Set to 1 to use socket classes
    555 +#define wxUSE_SOCKETS       1
    556 +
    557 +// Set to 1 to enable virtual file systems (required by wxHTML)
    558 +#define wxUSE_FILESYSTEM    1
    559 +
    560 +// Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
    561 +#define wxUSE_FS_ZIP        1
    562 +
    563 +// Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
    564 +#define wxUSE_FS_ARCHIVE    1
    565 +
    566 +// Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
    567 +#define wxUSE_FS_INET       1
    568 +
    569 +// wxArchive classes for accessing archives such as zip and tar
    570 +#define wxUSE_ARCHIVE_STREAMS     1
    571 +
    572 +// Set to 1 to compile wxZipInput/OutputStream classes.
    573 +#define wxUSE_ZIPSTREAM     1
    574 +
    575 +// Set to 1 to compile wxTarInput/OutputStream classes.
    576 +#define wxUSE_TARSTREAM     1
    577 +
    578 +// Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
    579 +// wxUSE_LIBPNG
    580 +#define wxUSE_ZLIB          1
    581 +
    582 +// If enabled, the code written by Apple will be used to write, in a portable
    583 +// way, float on the disk. See extended.c for the license which is different
    584 +// from wxWidgets one.
    585 +//
    586 +// Default is 1.
    587 +//
    588 +// Recommended setting: 1 unless you don't like the license terms (unlikely)
    589 +#define wxUSE_APPLE_IEEE          1
    590 +
    591 +// Joystick support class
    592 +#define wxUSE_JOYSTICK            1
    593 +
    594 +// wxFontMapper class
    595 +#define wxUSE_FONTMAP 1
    596 +
    597 +// wxMimeTypesManager class
    598 +#define wxUSE_MIMETYPE 1
    599 +
    600 +// wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
    601 +// or wxURL you need to set this to 1.
    602 +//
    603 +// Default is 1.
    604 +//
    605 +// Recommended setting: 1
    606 +#define wxUSE_PROTOCOL 1
    607 +
    608 +// The settings for the individual URL schemes
    609 +#define wxUSE_PROTOCOL_FILE 1
    610 +#define wxUSE_PROTOCOL_FTP 1
    611 +#define wxUSE_PROTOCOL_HTTP 1
    612 +
    613 +// Define this to use wxURL class.
    614 +#define wxUSE_URL 1
    615 +
    616 +// Define this to use native platform url and protocol support.
    617 +// Currently valid only for MS-Windows.
    618 +// Note: if you set this to 1, you can open ftp/http/gopher sites
    619 +// and obtain a valid input stream for these sites
    620 +// even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.
    621 +// Doing so reduces the code size.
    622 +//
    623 +// This code is experimental and subject to change.
    624 +#define wxUSE_URL_NATIVE 0
    625 +
    626 +// Support for wxVariant class used in several places throughout the library,
    627 +// notably in wxDataViewCtrl API.
    628 +//
    629 +// Default is 1.
    630 +//
    631 +// Recommended setting: 1 unless you want to reduce the library size as much as
    632 +// possible in which case setting this to 0 can gain up to 100KB.
    633 +#define wxUSE_VARIANT 1
    634 +
    635 +// Support for regular expression matching via wxRegEx class: enable this to
    636 +// use POSIX regular expressions in your code. You need to compile regex
    637 +// library from src/regex to use it under Windows.
    638 +//
    639 +// Default is 0
    640 +//
    641 +// Recommended setting: 1 if your compiler supports it, if it doesn't please
    642 +// contribute us a makefile for src/regex for it
    643 +#define wxUSE_REGEX       1
    644 +
    645 +// wxSystemOptions class
    646 +#define wxUSE_SYSTEM_OPTIONS 1
    647 +
    648 +// wxSound class
    649 +#define wxUSE_SOUND      1
    650 +
    651 +// Use wxMediaCtrl
    652 +//
    653 +// Default is 1.
    654 +//
    655 +// Recommended setting: 1
    656 +#define wxUSE_MEDIACTRL     1
    657 +
    658 +// Use GStreamer for Unix (req a lot of dependancies)
    659 +//
    660 +// Default is 0
    661 +//
    662 +// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
    663 +#define wxUSE_GSTREAMER    0
    664 +
    665 +// Use wxWidget's XRC XML-based resource system.  Recommended.
    666 +//
    667 +// Default is 1
    668 +//
    669 +// Recommended setting: 1 (requires wxUSE_XML)
    670 +#define wxUSE_XRC       1
    671 +
    672 +// XML parsing classes. Note that their API will change in the future, so
    673 +// using wxXmlDocument and wxXmlNode in your app is not recommended.
    674 +//
    675 +// Default is the same as wxUSE_XRC, i.e. 1 by default.
    676 +//
    677 +// Recommended setting: 1 (required by XRC)
    678 +#define wxUSE_XML       wxUSE_XRC
    679 +
    680 +// Use wxWidget's AUI docking system
    681 +//
    682 +// Default is 1
    683 +//
    684 +// Recommended setting: 1
    685 +#define wxUSE_AUI       1
    686 +
    687 +
    688 +// Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
    689 +// 2D drawing API.  (Still somewhat experimental)
    690 +//
    691 +// Please note that on Windows you will need to link with gdiplus.lib (use
    692 +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your
    693 +// application if you want it to be runnable on pre-XP systems.
    694 +//
    695 +// Default is 0
    696 +//
    697 +// Recommended setting: 1
    698 +#ifndef wxUSE_GRAPHICS_CONTEXT
    699 +#define wxUSE_GRAPHICS_CONTEXT 1
    700 +#endif
    701 +
    702 +// ----------------------------------------------------------------------------
    703 +// Individual GUI controls
    704 +// ----------------------------------------------------------------------------
    705 +
    706 +// You must set wxUSE_CONTROLS to 1 if you are using any controls at all
    707 +// (without it, wxControl class is not compiled)
    708 +//
    709 +// Default is 1
    710 +//
    711 +// Recommended setting: 1 (don't change except for very special programs)
    712 +#define wxUSE_CONTROLS     1
    713 +
    714 +// wxPopupWindow class is a top level transient window. It is currently used
    715 +// to implement wxTipWindow
    716 +//
    717 +// Default is 1
    718 +//
    719 +// Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
    720 +#define wxUSE_POPUPWIN     1
    721 +
    722 +// wxTipWindow allows to implement the custom tooltips, it is used by the
    723 +// context help classes. Requires wxUSE_POPUPWIN.
    724 +//
    725 +// Default is 1
    726 +//
    727 +// Recommended setting: 1 (may be set to 0)
    728 +#define wxUSE_TIPWINDOW    1
    729 +
    730 +// Each of the settings below corresponds to one wxWidgets control. They are
    731 +// all switched on by default but may be disabled if you are sure that your
    732 +// program (including any standard dialogs it can show!) doesn't need them and
    733 +// if you desperately want to save some space. If you use any of these you must
    734 +// set wxUSE_CONTROLS as well.
    735 +//
    736 +// Default is 1
    737 +//
    738 +// Recommended setting: 1
    739 +#define wxUSE_ANIMATIONCTRL 1   // wxAnimationCtrl
    740 +#define wxUSE_BUTTON        1   // wxButton
    741 +#define wxUSE_BMPBUTTON     1   // wxBitmapButton
    742 +#define wxUSE_CALENDARCTRL  1   // wxCalendarCtrl
    743 +#define wxUSE_CHECKBOX      1   // wxCheckBox
    744 +#define wxUSE_CHECKLISTBOX  1   // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
    745 +#define wxUSE_CHOICE        1   // wxChoice
    746 +#define wxUSE_COLLPANE      1   // wxCollapsiblePane
    747 +#define wxUSE_COLOURPICKERCTRL 1    // wxColourPickerCtrl
    748 +#define wxUSE_COMBOBOX      1   // wxComboBox
    749 +#define wxUSE_DATAVIEWCTRL  1   // wxDataViewCtrl
    750 +#define wxUSE_DATEPICKCTRL  1   // wxDatePickerCtrl
    751 +#define wxUSE_DIRPICKERCTRL 1   // wxDirPickerCtrl
    752 +#define wxUSE_FILEPICKERCTRL 1  // wxFilePickerCtrl
    753 +#define wxUSE_FONTPICKERCTRL 1  // wxFontPickerCtrl
    754 +#define wxUSE_GAUGE         1   // wxGauge
    755 +#define wxUSE_HYPERLINKCTRL 1   // wxHyperlinkCtrl
    756 +#define wxUSE_LISTBOX       1   // wxListBox
    757 +#define wxUSE_LISTCTRL      1   // wxListCtrl
    758 +#define wxUSE_RADIOBOX      1   // wxRadioBox
    759 +#define wxUSE_RADIOBTN      1   // wxRadioButton
    760 +#define wxUSE_SCROLLBAR     1   // wxScrollBar
    761 +#define wxUSE_SEARCHCTRL    1   // wxSearchCtrl
    762 +#define wxUSE_SLIDER        1   // wxSlider
    763 +#define wxUSE_SPINBTN       1   // wxSpinButton
    764 +#define wxUSE_SPINCTRL      1   // wxSpinCtrl
    765 +#define wxUSE_STATBOX       1   // wxStaticBox
    766 +#define wxUSE_STATLINE      1   // wxStaticLine
    767 +#define wxUSE_STATTEXT      1   // wxStaticText
    768 +#define wxUSE_STATBMP       1   // wxStaticBitmap
    769 +#define wxUSE_TEXTCTRL      1   // wxTextCtrl
    770 +#define wxUSE_TOGGLEBTN     1   // requires wxButton
    771 +#define wxUSE_TREECTRL      1   // wxTreeCtrl
    772 +
    773 +// Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR
    774 +// below either wxStatusBar95 or a generic wxStatusBar will be used.
    775 +//
    776 +// Default is 1
    777 +//
    778 +// Recommended setting: 1
    779 +#define wxUSE_STATUSBAR    1
    780 +
    781 +// Two status bar implementations are available under Win32: the generic one
    782 +// or the wrapper around native control. For native look and feel the native
    783 +// version should be used.
    784 +//
    785 +// Default is 1 for the platforms where native status bar is supported.
    786 +//
    787 +// Recommended setting: 1 (there is no advantage in using the generic one)
    788 +#define wxUSE_NATIVE_STATUSBAR        1
    789 +
    790 +// wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
    791 +// classes at all. Otherwise, use the native toolbar class unless
    792 +// wxUSE_TOOLBAR_NATIVE is 0.
    793 +//
    794 +// Default is 1 for all settings.
    795 +//
    796 +// Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
    797 +#define wxUSE_TOOLBAR 1
    798 +#define wxUSE_TOOLBAR_NATIVE 1
    799 +
    800 +// wxNotebook is a control with several "tabs" located on one of its sides. It
    801 +// may be used to logically organise the data presented to the user instead of
    802 +// putting everything in one huge dialog. It replaces wxTabControl and related
    803 +// classes of wxWin 1.6x.
    804 +//
    805 +// Default is 1.
    806 +//
    807 +// Recommended setting: 1
    808 +#define wxUSE_NOTEBOOK 1
    809 +
    810 +// wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
    811 +// the tabs
    812 +//
    813 +// Default is 1.
    814 +//
    815 +// Recommended setting: 1
    816 +#define wxUSE_LISTBOOK 1
    817 +
    818 +// wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
    819 +// the tabs
    820 +//
    821 +// Default is 1.
    822 +//
    823 +// Recommended setting: 1
    824 +#define wxUSE_CHOICEBOOK 1
    825 +
    826 +// wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
    827 +// the tabs
    828 +//
    829 +// Default is 1.
    830 +//
    831 +// Recommended setting: 1
    832 +#define wxUSE_TREEBOOK 1
    833 +
    834 +// wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
    835 +// tabs
    836 +//
    837 +// Default is 1.
    838 +//
    839 +// Recommended setting: 1
    840 +#define wxUSE_TOOLBOOK 1
    841 +
    842 +// wxTabDialog is a generic version of wxNotebook but it is incompatible with
    843 +// the new class. It shouldn't be used in new code.
    844 +//
    845 +// Default is 0.
    846 +//
    847 +// Recommended setting: 0 (use wxNotebook)
    848 +#define wxUSE_TAB_DIALOG    0
    849 +
    850 +// wxGrid class
    851 +//
    852 +// Default is 1, set to 0 to cut down compilation time and binaries size if you
    853 +// don't use it.
    854 +//
    855 +// Recommended setting: 1
    856 +//
    857 +#define wxUSE_GRID         1
    858 +
    859 +// wxMiniFrame class: a frame with narrow title bar
    860 +//
    861 +// Default is 1.
    862 +//
    863 +// Recommended setting: 1 (it doesn't cost almost anything)
    864 +#define wxUSE_MINIFRAME 1
    865 +
    866 +// wxComboCtrl and related classes: combobox with custom popup window and
    867 +// not necessarily a listbox.
    868 +//
    869 +// Default is 1.
    870 +//
    871 +// Recommended setting: 1 but can be safely set to 0 except for wxUniv where it
    872 +//                      it used by wxComboBox
    873 +#define wxUSE_COMBOCTRL 1
    874 +
    875 +// wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
    876 +// items.
    877 +//
    878 +// Default is 1.
    879 +//
    880 +// Recommended setting: 1 but can be safely set to 0, except where it is
    881 +//                      needed as a base class for generic wxBitmapComboBox.
    882 +#define wxUSE_ODCOMBOBOX 1
    883 +
    884 +// wxBitmapComboBox is a combobox that can have images in front of text items.
    885 +//
    886 +// Default is 1.
    887 +//
    888 +// Recommended setting: 1 but can be safely set to 0
    889 +#define wxUSE_BITMAPCOMBOBOX 1
    890 +
    891 +// ----------------------------------------------------------------------------
    892 +// Miscellaneous GUI stuff
    893 +// ----------------------------------------------------------------------------
    894 +
    895 +// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
    896 +#define wxUSE_ACCEL 1
    897 +
    898 +// Hotkey support (currently Windows only)
    899 +#define wxUSE_HOTKEY 1
    900 +
    901 +// Use wxCaret: a class implementing a "cursor" in a text control (called caret
    902 +// under Windows).
    903 +//
    904 +// Default is 1.
    905 +//
    906 +// Recommended setting: 1 (can be safely set to 0, not used by the library)
    907 +#define wxUSE_CARET         1
    908 +
    909 +// Use wxDisplay class: it allows enumerating all displays on a system and
    910 +// their geometries as well as finding the display on which the given point or
    911 +// window lies.
    912 +//
    913 +// Default is 1.
    914 +//
    915 +// Recommended setting: 1 if you need it, can be safely set to 0 otherwise
    916 +#define wxUSE_DISPLAY       1
    917 +
    918 +// Miscellaneous geometry code: needed for Canvas library
    919 +#define wxUSE_GEOMETRY            1
    920 +
    921 +// Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
    922 +// wxListCtrl.
    923 +//
    924 +// Default is 1.
    925 +//
    926 +// Recommended setting: 1 (set it to 0 if you don't use any of the controls
    927 +// enumerated above, then this class is mostly useless too)
    928 +#define wxUSE_IMAGLIST      1
    929 +
    930 +// Use wxMenu, wxMenuBar, wxMenuItem.
    931 +//
    932 +// Default is 1.
    933 +//
    934 +// Recommended setting: 1 (can't be disabled under MSW)
    935 +#define wxUSE_MENUS         1
    936 +
    937 +// Use wxSashWindow class.
    938 +//
    939 +// Default is 1.
    940 +//
    941 +// Recommended setting: 1
    942 +#define wxUSE_SASH          1
    943 +
    944 +// Use wxSplitterWindow class.
    945 +//
    946 +// Default is 1.
    947 +//
    948 +// Recommended setting: 1
    949 +#define wxUSE_SPLITTER      1
    950 +
    951 +// Use wxToolTip and wxWindow::Set/GetToolTip() methods.
    952 +//
    953 +// Default is 1.
    954 +//
    955 +// Recommended setting: 1
    956 +#define wxUSE_TOOLTIPS      1
    957 +
    958 +// wxValidator class and related methods
    959 +#define wxUSE_VALIDATORS 1
    960 +
    961 +// ----------------------------------------------------------------------------
    962 +// common dialogs
    963 +// ----------------------------------------------------------------------------
    964 +
    965 +// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g.
    966 +// file selector, printer dialog). Switching this off also switches off the
    967 +// printing architecture and interactive wxPrinterDC.
    968 +//
    969 +// Default is 1
    970 +//
    971 +// Recommended setting: 1 (unless it really doesn't work)
    972 +#define wxUSE_COMMON_DIALOGS 1
    973 +
    974 +// wxBusyInfo displays window with message when app is busy. Works in same way
    975 +// as wxBusyCursor
    976 +#define wxUSE_BUSYINFO      1
    977 +
    978 +// Use single/multiple choice dialogs.
    979 +//
    980 +// Default is 1
    981 +//
    982 +// Recommended setting: 1 (used in the library itself)
    983 +#define wxUSE_CHOICEDLG     1
    984 +
    985 +// Use colour picker dialog
    986 +//
    987 +// Default is 1
    988 +//
    989 +// Recommended setting: 1
    990 +#define wxUSE_COLOURDLG     1
    991 +
    992 +// wxDirDlg class for getting a directory name from user
    993 +#define wxUSE_DIRDLG 1
    994 +
    995 +// TODO: setting to choose the generic or native one
    996 +
    997 +// Use file open/save dialogs.
    998 +//
    999 +// Default is 1
    1000 +//
    1001 +// Recommended setting: 1 (used in many places in the library itself)
    1002 +#define wxUSE_FILEDLG       1
    1003 +
    1004 +// Use find/replace dialogs.
    1005 +//
    1006 +// Default is 1
    1007 +//
    1008 +// Recommended setting: 1 (but may be safely set to 0)
    1009 +#define wxUSE_FINDREPLDLG       1
    1010 +
    1011 +// Use font picker dialog
    1012 +//
    1013 +// Default is 1
    1014 +//
    1015 +// Recommended setting: 1 (used in the library itself)
    1016 +#define wxUSE_FONTDLG       1
    1017 +
    1018 +// Use wxMessageDialog and wxMessageBox.
    1019 +//
    1020 +// Default is 1
    1021 +//
    1022 +// Recommended setting: 1 (used in the library itself)
    1023 +#define wxUSE_MSGDLG        1
    1024 +
    1025 +// progress dialog class for lengthy operations
    1026 +#define wxUSE_PROGRESSDLG 1
    1027 +
    1028 +// support for startup tips (wxShowTip &c)
    1029 +#define wxUSE_STARTUP_TIPS 1
    1030 +
    1031 +// text entry dialog and wxGetTextFromUser function
    1032 +#define wxUSE_TEXTDLG 1
    1033 +
    1034 +// number entry dialog
    1035 +#define wxUSE_NUMBERDLG 1
    1036 +
    1037 +// splash screen class
    1038 +#define wxUSE_SPLASH 1
    1039 +
    1040 +// wizards
    1041 +#define wxUSE_WIZARDDLG 1
    1042 +
    1043 +// Compile in wxAboutBox() function showing the standard "About" dialog.
    1044 +//
    1045 +// Default is 1
    1046 +//
    1047 +// Recommended setting: 1 but can be set to 0 to save some space if you don't
    1048 +//                      use this function
    1049 +#define wxUSE_ABOUTDLG 1
    1050 +
    1051 +// ----------------------------------------------------------------------------
    1052 +// Metafiles support
    1053 +// ----------------------------------------------------------------------------
    1054 +
    1055 +// Windows supports the graphics format known as metafile which is, though not
    1056 +// portable, is widely used under Windows and so is supported by wxWin (under
    1057 +// Windows only, of course). Win16 (Win3.1) used the so-called "Window
    1058 +// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
    1059 +// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
    1060 +// default, WMFs will be used under Win16 and EMFs under Win32. This may be
    1061 +// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
    1062 +// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
    1063 +// in any metafile related classes at all.
    1064 +//
    1065 +// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
    1066 +//
    1067 +// Recommended setting: default or 0 for everything for portable programs.
    1068 +#define wxUSE_METAFILE              1
    1069 +#define wxUSE_ENH_METAFILE          1
    1070 +#define wxUSE_WIN_METAFILES_ALWAYS  0
    1071 +
    1072 +// ----------------------------------------------------------------------------
    1073 +// Big GUI components
    1074 +// ----------------------------------------------------------------------------
    1075 +
    1076 +// Set to 0 to disable MDI support.
    1077 +//
    1078 +// Requires wxUSE_NOTEBOOK under platforms other than MSW.
    1079 +//
    1080 +// Default is 1.
    1081 +//
    1082 +// Recommended setting: 1, can be safely set to 0.
    1083 +#define wxUSE_MDI 1
    1084 +
    1085 +// Set to 0 to disable document/view architecture
    1086 +#define wxUSE_DOC_VIEW_ARCHITECTURE 1
    1087 +
    1088 +// Set to 0 to disable MDI document/view architecture
    1089 +//
    1090 +// Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
    1091 +#define wxUSE_MDI_ARCHITECTURE    1
    1092 +
    1093 +// Set to 0 to disable print/preview architecture code
    1094 +#define wxUSE_PRINTING_ARCHITECTURE  1
    1095 +
    1096 +// wxHTML sublibrary allows to display HTML in wxWindow programs and much,
    1097 +// much more.
    1098 +//
    1099 +// Default is 1.
    1100 +//
    1101 +// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
    1102 +// smaller library.
    1103 +#define wxUSE_HTML          1
    1104 +
    1105 +// Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL
    1106 +// headers and libraries to be able to compile the library with wxUSE_GLCANVAS
    1107 +// set to 1. Note that for some compilers (notably Microsoft Visual C++) you
    1108 +// will need to manually add opengl32.lib and glu32.lib to the list of
    1109 +// libraries linked with your program if you use OpenGL.
    1110 +//
    1111 +// Default is 0.
    1112 +//
    1113 +// Recommended setting: 1 if you intend to use OpenGL, 0 otherwise
    1114 +#define wxUSE_GLCANVAS       1
    1115 +
    1116 +// wxRichTextCtrl allows editing of styled text.
    1117 +//
    1118 +// Default is 1.
    1119 +//
    1120 +// Recommended setting: 1, set to 0 if you want compile a
    1121 +// smaller library.
    1122 +#define wxUSE_RICHTEXT       1
    1123 +
    1124 +// ----------------------------------------------------------------------------
    1125 +// Data transfer
    1126 +// ----------------------------------------------------------------------------
    1127 +
    1128 +// Use wxClipboard class for clipboard copy/paste.
    1129 +//
    1130 +// Default is 1.
    1131 +//
    1132 +// Recommended setting: 1
    1133 +#define wxUSE_CLIPBOARD     1
    1134 +
    1135 +// Use wxDataObject and related classes. Needed for clipboard and OLE drag and
    1136 +// drop
    1137 +//
    1138 +// Default is 1.
    1139 +//
    1140 +// Recommended setting: 1
    1141 +#define wxUSE_DATAOBJ       1
    1142 +
    1143 +// Use wxDropTarget and wxDropSource classes for drag and drop (this is
    1144 +// different from "built in" drag and drop in wxTreeCtrl which is always
    1145 +// available). Requires wxUSE_DATAOBJ.
    1146 +//
    1147 +// Default is 1.
    1148 +//
    1149 +// Recommended setting: 1
    1150 +#define wxUSE_DRAG_AND_DROP 1
    1151 +
    1152 +// Use wxAccessible for enhanced and customisable accessibility.
    1153 +// Depends on wxUSE_OLE.
    1154 +//
    1155 +// Default is 0.
    1156 +//
    1157 +// Recommended setting (at present): 0
    1158 +#define wxUSE_ACCESSIBILITY 0
    1159 +
    1160 +// ----------------------------------------------------------------------------
    1161 +// miscellaneous settings
    1162 +// ----------------------------------------------------------------------------
    1163 +
    1164 +// wxSingleInstanceChecker class allows to verify at startup if another program
    1165 +// instance is running.
    1166 +//
    1167 +// Default is 1
    1168 +//
    1169 +// Recommended setting: 1 (the class is tiny, disabling it won't save much
    1170 +// space)
    1171 +#define wxUSE_SNGLINST_CHECKER  1
    1172 +
    1173 +#define wxUSE_DRAGIMAGE 1
    1174 +
    1175 +#define wxUSE_IPC         1
    1176 +                                // 0 for no interprocess comms
    1177 +#define wxUSE_HELP        1
    1178 +                                // 0 for no help facility
    1179 +
    1180 +// Should we use MS HTML help for wxHelpController? If disabled, neither
    1181 +// wxCHMHelpController nor wxBestHelpController are available.
    1182 +//
    1183 +// Default is 1 under MSW, 0 is always used for the other platforms.
    1184 +//
    1185 +// Recommended setting: 1, only set to 0 if you have trouble compiling
    1186 +// wxCHMHelpController (could be a problem with really ancient compilers)
    1187 +#define wxUSE_MS_HTML_HELP 1
    1188 +
    1189 +
    1190 +// Use wxHTML-based help controller?
    1191 +#define wxUSE_WXHTML_HELP 1
    1192 +
    1193 +#define wxUSE_RESOURCES   0
    1194 +                                // 0 for no wxGetResource/wxWriteResource
    1195 +#define wxUSE_CONSTRAINTS 1
    1196 +                                // 0 for no window layout constraint system
    1197 +
    1198 +#define wxUSE_SPLINES     1
    1199 +                                // 0 for no splines
    1200 +
    1201 +#define wxUSE_MOUSEWHEEL        1
    1202 +                                // Include mouse wheel support
    1203 +
    1204 +// ----------------------------------------------------------------------------
    1205 +// postscript support settings
    1206 +// ----------------------------------------------------------------------------
    1207 +
    1208 +// Set to 1 for PostScript device context.
    1209 +#define wxUSE_POSTSCRIPT  1
    1210 +
    1211 +// Set to 1 to use font metric files in GetTextExtent
    1212 +#define wxUSE_AFM_FOR_POSTSCRIPT 0
    1213 +
    1214 +// ----------------------------------------------------------------------------
    1215 +// database classes
    1216 +// ----------------------------------------------------------------------------
    1217 +
    1218 +// Define 1 to use ODBC classes
    1219 +#define wxUSE_ODBC          0
    1220 +
    1221 +// For backward compatibility reasons, this parameter now only controls the
    1222 +// default scrolling method used by cursors.  This default behavior can be
    1223 +// overriden by setting the second param of wxDB::wxDbGetConnection() or
    1224 +// wxDb() constructor to indicate whether the connection (and any wxDbTable()s
    1225 +// that use the connection) should support forward only scrolling of cursors,
    1226 +// or both forward and backward support for backward scrolling cursors is
    1227 +// dependent on the data source as well as the ODBC driver being used.
    1228 +#define wxODBC_FWD_ONLY_CURSORS         1
    1229 +
    1230 +// Default is 0.  Set to 1 to use the deprecated classes, enum types, function,
    1231 +// member variables.  With a setting of 1, full backward compatibility with the
    1232 +// 2.0.x release is possible. It is STRONGLY recommended that this be set to 0,
    1233 +// as future development will be done only on the non-deprecated
    1234 +// functions/classes/member variables/etc.
    1235 +#define wxODBC_BACKWARD_COMPATABILITY 0
    1236 +
    1237 +// ----------------------------------------------------------------------------
    1238 +// other compiler (mis)features
    1239 +// ----------------------------------------------------------------------------
    1240 +
    1241 +// Set this to 0 if your compiler can't cope with omission of prototype
    1242 +// parameters.
    1243 +//
    1244 +// Default is 1.
    1245 +//
    1246 +// Recommended setting: 1 (should never need to set this to 0)
    1247 +#define REMOVE_UNUSED_ARG   1
    1248 +
    1249 +// VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
    1250 +// them. Set to 1 for <iostream.h>, 0 for <iostream>. Note that VC++ 7.1
    1251 +// and later doesn't support wxUSE_IOSTREAMH == 1 and so <iostream> will be
    1252 +// used anyhow.
    1253 +//
    1254 +// Default is 1.
    1255 +//
    1256 +// Recommended setting: whatever your compiler likes more
    1257 +#define wxUSE_IOSTREAMH     1
    1258 +
    1259 +// ----------------------------------------------------------------------------
    1260 +// image format support
    1261 +// ----------------------------------------------------------------------------
    1262 +
    1263 +// wxImage supports many different image formats which can be configured at
    1264 +// compile-time. BMP is always supported, others are optional and can be safely
    1265 +// disabled if you don't plan to use images in such format sometimes saving
    1266 +// substantial amount of code in the final library.
    1267 +//
    1268 +// Some formats require an extra library which is included in wxWin sources
    1269 +// which is mentioned if it is the case.
    1270 +
    1271 +// Set to 1 for wxImage support (recommended).
    1272 +#define wxUSE_IMAGE         1
    1273 +
    1274 +// Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
    1275 +#define wxUSE_LIBPNG        1
    1276 +
    1277 +// Set to 1 for JPEG format support (requires libjpeg)
    1278 +#define wxUSE_LIBJPEG       1
    1279 +
    1280 +// Set to 1 for TIFF format support (requires libtiff)
    1281 +#define wxUSE_LIBTIFF       1
    1282 +
    1283 +// Set to 1 for TGA format support (loading only)
    1284 +#define wxUSE_TGA           1
    1285 +
    1286 +// Set to 1 for GIF format support
    1287 +#define wxUSE_GIF           1
    1288 +
    1289 +// Set to 1 for PNM format support
    1290 +#define wxUSE_PNM           1
    1291 +
    1292 +// Set to 1 for PCX format support
    1293 +#define wxUSE_PCX           1
    1294 +
    1295 +// Set to 1 for IFF format support (Amiga format)
    1296 +#define wxUSE_IFF           0
    1297 +
    1298 +// Set to 1 for XPM format support
    1299 +#define wxUSE_XPM           1
    1300 +
    1301 +// Set to 1 for MS Icons and Cursors format support
    1302 +#define wxUSE_ICO_CUR       1
    1303 +
    1304 +// Set to 1 to compile in wxPalette class
    1305 +#define wxUSE_PALETTE       1
    1306 +
    1307 +// ----------------------------------------------------------------------------
    1308 +// wxUniversal-only options
    1309 +// ----------------------------------------------------------------------------
    1310 +
    1311 +// Set to 1 to enable compilation of all themes, this is the default
    1312 +#define wxUSE_ALL_THEMES    1
    1313 +
    1314 +// Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
    1315 +// is unset, if it is set these options are not used; notice that metal theme
    1316 +// uses Win32 one
    1317 +#define wxUSE_THEME_GTK     0
    1318 +#define wxUSE_THEME_METAL   0
    1319 +#define wxUSE_THEME_MONO    0
    1320 +#define wxUSE_THEME_WIN32   0
    1321 +
    1322 +
    1323 +/* --- end common options --- */
    1324 +
    1325 +// ----------------------------------------------------------------------------
    1326 +// Windows-only settings
    1327 +// ----------------------------------------------------------------------------
    1328 +
    1329 +// Set wxUSE_UNICODE_MSLU to 1 if you're compiling wxWidgets in Unicode mode
    1330 +// and want to run your programs under Windows 9x and not only NT/2000/XP.
    1331 +// This setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see
    1332 +// http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx). Note
    1333 +// that you will have to modify the makefiles to include unicows.lib import
    1334 +// library as the first library (see installation instructions in install.txt
    1335 +// to learn how to do it when building the library or samples).
    1336 +//
    1337 +// If your compiler doesn't have unicows.lib, you can get a version of it at
    1338 +// http://libunicows.sourceforge.net
    1339 +//
    1340 +// Default is 0
    1341 +//
    1342 +// Recommended setting: 0 (1 if you want to deploy Unicode apps on 9x systems)
    1343 +#ifndef wxUSE_UNICODE_MSLU
    1344 +    #define wxUSE_UNICODE_MSLU 0
    1345 +#endif
    1346 +
    1347 +// Set this to 1 if you want to use wxWidgets and MFC in the same program. This
    1348 +// will override some other settings (see below)
    1349 +//
    1350 +// Default is 0.
    1351 +//
    1352 +// Recommended setting: 0 unless you really have to use MFC
    1353 +#define wxUSE_MFC           0
    1354 +
    1355 +// Set this to 1 for generic OLE support: this is required for drag-and-drop,
    1356 +// clipboard, OLE Automation. Only set it to 0 if your compiler is very old and
    1357 +// can't compile/doesn't have the OLE headers.
    1358 +//
    1359 +// Default is 1.
    1360 +//
    1361 +// Recommended setting: 1
    1362 +#define wxUSE_OLE           1
    1363 +
    1364 +// Set this to 1 to enable wxAutomationObject class.
    1365 +//
    1366 +// Default is 1.
    1367 +//
    1368 +// Recommended setting: 1 if you need to control other applications via OLE
    1369 +// Automation, can be safely set to 0 otherwise
    1370 +#define wxUSE_OLE_AUTOMATION 1
    1371 +
    1372 +// Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
    1373 +// controls in wx.
    1374 +//
    1375 +// Default is 1.
    1376 +//
    1377 +// Recommended setting: 1, required by wxMediaCtrl
    1378 +#define wxUSE_ACTIVEX 1
    1379 +
    1380 +// wxDC cacheing implementation
    1381 +#define wxUSE_DC_CACHEING 1
    1382 +
    1383 +// Set this to 1 to enable the use of DIB's for wxBitmap to support
    1384 +// bitmaps > 16MB on Win95/98/Me.  Set to 0 to use DDB's only.
    1385 +#define wxUSE_DIB_FOR_BITMAP 1
    1386 +
    1387 +// Set this to 1 to enable wxDIB class used internally for manipulating
    1388 +// wxBitmao data.
    1389 +//
    1390 +// Default is 1, set it to 0 only if you don't use wxImage neither
    1391 +//
    1392 +// Recommended setting: 1 (without it conversion to/from wxImage won't work)
    1393 +#define wxUSE_WXDIB 1
    1394 +
    1395 +// Set to 0 to disable PostScript print/preview architecture code under Windows
    1396 +// (just use Windows printing).
    1397 +#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
    1398 +
    1399 +// Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH
    1400 +// which allows to put more than ~32Kb of text in it even under Win9x (NT
    1401 +// doesn't have such limitation).
    1402 +//
    1403 +// Default is 1 for compilers which support it
    1404 +//
    1405 +// Recommended setting: 1, only set it to 0 if your compiler doesn't have
    1406 +//                      or can't compile <richedit.h>
    1407 +#define wxUSE_RICHEDIT  1
    1408 +
    1409 +// Set this to 1 to use extra features of richedit v2 and later controls
    1410 +//
    1411 +// Default is 1 for compilers which support it
    1412 +//
    1413 +// Recommended setting: 1
    1414 +#define wxUSE_RICHEDIT2 1
    1415 +
    1416 +// Set this to 1 to enable support for the owner-drawn menu and listboxes. This
    1417 +// is required by wxUSE_CHECKLISTBOX.
    1418 +//
    1419 +// Default is 1.
    1420 +//
    1421 +// Recommended setting: 1, set to 0 for a small library size reduction
    1422 +#define wxUSE_OWNER_DRAWN 1
    1423 +
    1424 +// Set to 1 to compile MS Windows XP theme engine support
    1425 +#define wxUSE_UXTHEME           1
    1426 +
    1427 +// Set to 1 to auto-adapt to MS Windows XP themes where possible
    1428 +// (notably, wxNotebook pages)
    1429 +#define wxUSE_UXTHEME_AUTO      1
    1430 +
    1431 +// Set to 1 to use InkEdit control (Tablet PC), if available
    1432 +#define wxUSE_INKEDIT  0
    1433 +
    1434 +// ----------------------------------------------------------------------------
    1435 +// Generic versions of native controls
    1436 +// ----------------------------------------------------------------------------
    1437 +
    1438 +// Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
    1439 +// native wxDatePickerCtrl
    1440 +//
    1441 +// Default is 0.
    1442 +//
    1443 +// Recommended setting: 0, this is mainly used for testing
    1444 +#define wxUSE_DATEPICKCTRL_GENERIC 1
    1445 +
    1446 +// ----------------------------------------------------------------------------
    1447 +// Crash debugging helpers
    1448 +// ----------------------------------------------------------------------------
    1449 +
    1450 +// Set this to 1 to be able to use wxCrashReport::Generate() to create mini
    1451 +// dumps of your program when it crashes (or at any other moment)
    1452 +//
    1453 +// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
    1454 +//
    1455 +// Recommended setting: 1, set to 0 if your programs never crash
    1456 +#define wxUSE_CRASHREPORT 1
    1457 +
    1458 +// ----------------------------------------------------------------------------
    1459 +// obsolete settings
    1460 +// ----------------------------------------------------------------------------
    1461 +
    1462 +// NB: all settings in this section are obsolete and should not be used/changed
    1463 +//     at all, they will disappear
    1464 +
    1465 +// Define 1 to use bitmap messages.
    1466 +#define wxUSE_BITMAP_MESSAGE         1
    1467 +
    1468 +#endif // _WX_SETUP_H_
    1469 +
    1470 diff '--exclude-from=wxPython-src-2.8.9.1/exclude' -Nur orig/wxPython-src-2.8.9.1//include/wx/msw/winundef.h wxPython-src-2.8.9.1//include/wx/msw/winundef.h
    1471 --- orig/wxPython-src-2.8.9.1//include/wx/msw/winundef.h        2007-07-04 21:24:59.000000000 +0200
    1472 +++ wxPython-src-2.8.9.1//include/wx/msw/winundef.h     2009-01-31 00:48:49.000000000 +0100
    1473 @@ -30,24 +30,32 @@
    1474  #if defined(CreateDialog)
    1475      #undef CreateDialog
    1476  
    1477 +#ifdef _UNICODE
    1478      inline HWND CreateDialog(HINSTANCE hInstance,
    1479 -                             LPCTSTR pTemplate,
    1480 +                             LPCWSTR pTemplate,
    1481                               HWND hwndParent,
    1482                               DLGPROC pDlgProc)
    1483      {
    1484 -        #ifdef _UNICODE
    1485              return CreateDialogW(hInstance, pTemplate, hwndParent, pDlgProc);
    1486 -        #else
    1487 +    }
    1488 +#else
    1489 +    inline HWND CreateDialog(HINSTANCE hInstance,
    1490 +                             LPCSTR pTemplate,
    1491 +                             HWND hwndParent,
    1492 +                             DLGPROC pDlgProc)
    1493 +    {
    1494              return CreateDialogA(hInstance, pTemplate, hwndParent, pDlgProc);
    1495 -        #endif
    1496      }
    1497  #endif
    1498  
    1499 +#endif
    1500 +
    1501  // CreateFont
    1502  
    1503  #ifdef CreateFont
    1504      #undef CreateFont
    1505  
    1506 +#ifdef _UNICODE
    1507      inline HFONT CreateFont(int height,
    1508                              int width,
    1509                              int escapement,
    1510 @@ -61,20 +69,35 @@
    1511                              DWORD clipprecision,
    1512                              DWORD quality,
    1513                              DWORD family,
    1514 -                            LPCTSTR facename)
    1515 +                            LPCWSTR facename)
    1516      {
    1517 -        #ifdef _UNICODE
    1518              return CreateFontW(height, width, escapement, orientation,
    1519                                 weight, italic, underline, strikeout, charset,
    1520                                 outprecision, clipprecision, quality,
    1521                                 family, facename);
    1522 -        #else
    1523 +    }
    1524 +#else
    1525 +    inline HFONT CreateFont(int height,
    1526 +                            int width,
    1527 +                            int escapement,
    1528 +                            int orientation,
    1529 +                            int weight,
    1530 +                            DWORD italic,
    1531 +                            DWORD underline,
    1532 +                            DWORD strikeout,
    1533 +                            DWORD charset,
    1534 +                            DWORD outprecision,
    1535 +                            DWORD clipprecision,
    1536 +                            DWORD quality,
    1537 +                            DWORD family,
    1538 +                            LPCSTR facename)
    1539 +    {
    1540              return CreateFontA(height, width, escapement, orientation,
    1541                                 weight, italic, underline, strikeout, charset,
    1542                                 outprecision, clipprecision, quality,
    1543                                 family, facename);
    1544 -        #endif
    1545      }
    1546 +#endif
    1547  #endif // CreateFont
    1548  
    1549  // CreateWindow
    1550 @@ -82,8 +105,9 @@
    1551  #if defined(CreateWindow)
    1552      #undef CreateWindow
    1553  
    1554 -    inline HWND CreateWindow(LPCTSTR lpClassName,
    1555 -                             LPCTSTR lpWndClass,
    1556 +#ifdef _UNICODE
    1557 +    inline HWND CreateWindow(LPCWSTR lpClassName,
    1558 +                             LPCWSTR lpWndClass,
    1559                               DWORD dwStyle,
    1560                               int x, int y, int w, int h,
    1561                               HWND hWndParent,
    1562 @@ -91,30 +115,42 @@
    1563                               HINSTANCE hInstance,
    1564                               LPVOID lpParam)
    1565      {
    1566 -        #ifdef _UNICODE
    1567              return CreateWindowW(lpClassName, lpWndClass, dwStyle, x, y, w, h,
    1568                                   hWndParent, hMenu, hInstance, lpParam);
    1569 -        #else
    1570 +    }
    1571 +#else
    1572 +    inline HWND CreateWindow(LPCSTR lpClassName,
    1573 +                             LPCSTR lpWndClass,
    1574 +                             DWORD dwStyle,
    1575 +                             int x, int y, int w, int h,
    1576 +                             HWND hWndParent,
    1577 +                             HMENU hMenu,
    1578 +                             HINSTANCE hInstance,
    1579 +                             LPVOID lpParam)
    1580 +    {
    1581              return CreateWindowA(lpClassName, lpWndClass, dwStyle, x, y, w, h,
    1582                                   hWndParent, hMenu, hInstance, lpParam);
    1583 -        #endif
    1584      }
    1585  #endif
    1586 +#endif
    1587  
    1588  // LoadMenu
    1589  
    1590  #ifdef LoadMenu
    1591      #undef LoadMenu
    1592  
    1593 -    inline HMENU LoadMenu(HINSTANCE instance, LPCTSTR name)
    1594 +#ifdef _UNICODE
    1595 +    inline HMENU LoadMenu(HINSTANCE instance, LPCWSTR name)
    1596      {
    1597 -        #ifdef _UNICODE
    1598              return LoadMenuW(instance, name);
    1599 -        #else
    1600 +    }
    1601 +#else
    1602 +    inline HMENU LoadMenu(HINSTANCE instance, LPCSTR name)
    1603 +    {
    1604              return LoadMenuA(instance, name);
    1605 -        #endif
    1606      }
    1607  #endif
    1608 +#endif
    1609  
    1610  // FindText
    1611  
    1612 @@ -312,27 +348,33 @@
    1613  // LoadIcon
    1614  #ifdef LoadIcon
    1615      #undef LoadIcon
    1616 -    inline HICON LoadIcon(HINSTANCE hInstance, LPCTSTR lpIconName)
    1617 +#ifdef _UNICODE
    1618 +    inline HICON LoadIcon(HINSTANCE hInstance, LPCWSTR lpIconName)
    1619      {
    1620 -        #ifdef _UNICODE
    1621              return LoadIconW(hInstance, lpIconName);
    1622 -        #else // ANSI
    1623 +    }
    1624 +#else // ANSI
    1625 +    inline HICON LoadIcon(HINSTANCE hInstance, LPCSTR lpIconName)
    1626 +    {
    1627              return LoadIconA(hInstance, lpIconName);
    1628 -        #endif // Unicode/ANSI
    1629      }
    1630 +#endif // Unicode/ANSI
    1631  #endif // LoadIcon
    1632  
    1633  // LoadBitmap
    1634  #ifdef LoadBitmap
    1635      #undef LoadBitmap
    1636 -    inline HBITMAP LoadBitmap(HINSTANCE hInstance, LPCTSTR lpBitmapName)
    1637 +#ifdef _UNICODE
    1638 +    inline HBITMAP LoadBitmap(HINSTANCE hInstance, LPCWSTR lpBitmapName)
    1639      {
    1640 -        #ifdef _UNICODE
    1641              return LoadBitmapW(hInstance, lpBitmapName);
    1642 -        #else // ANSI
    1643 +    }
    1644 +#else
    1645 +    inline HBITMAP LoadBitmap(HINSTANCE hInstance, LPCSTR lpBitmapName)
    1646 +    {
    1647              return LoadBitmapA(hInstance, lpBitmapName);
    1648 -        #endif // Unicode/ANSI
    1649      }
    1650 +#endif // Unicode/ANSI
    1651  #endif // LoadBitmap
    1652  
    1653  // LoadLibrary
    1654 @@ -477,6 +519,35 @@
    1655      }
    1656  #endif
    1657  
    1658 +#ifdef GetModuleFileName
    1659 +   #undef GetModuleFileName
    1660 +#ifdef _UNICODE
    1661 +    inline DWORD GetModuleFileName(HMODULE hModule, LPWCH lpFilename, DWORD nSize)
    1662 +    {
    1663 +       return GetModuleFileNameW(hModule, lpFilename, nSize);
    1664 +    }
    1665 +#else
    1666 +    inline DWORD GetModuleFileName(HMODULE hModule, LPCH lpFilename, DWORD nSize)
    1667 +    {
    1668 +       return GetModuleFileNameA(hModule, lpFilename, nSize);
    1669 +    }
    1670 +#endif
    1671 +#endif
    1672 +
    1673 +#ifdef UnregisterClass
    1674 +   #undef UnregisterClass
    1675 +#ifdef _UNICODE
    1676 +    inline BOOL UnregisterClass(LPCWSTR lpClassName, HINSTANCE hInstance)
    1677 +    {
    1678 +       return UnregisterClassW(lpClassName, hInstance);
    1679 +    }
    1680 +#else
    1681 +    inline DWORD GetModuleFileName(LPCSTR lpClassName, HINSTANCE hInstance)
    1682 +    {
    1683 +       return UnregisterClassA(lpClassName, hInstance);
    1684 +    }
    1685 +#endif
    1686 +#endif
    1687  
    1688  // GetWindowProc
    1689  //ifdef GetWindowProc
    1690 diff '--exclude-from=wxPython-src-2.8.9.1/exclude' -Nur orig/wxPython-src-2.8.9.1//lib/vc_dll/msw/wx/setup.h wxPython-src-2.8.9.1//lib/vc_dll/msw/wx/setup.h
    1691 --- orig/wxPython-src-2.8.9.1//lib/vc_dll/msw/wx/setup.h        1970-01-01 01:00:00.000000000 +0100
    1692 +++ wxPython-src-2.8.9.1//lib/vc_dll/msw/wx/setup.h     2009-01-30 23:58:57.000000000 +0100
    1693 @@ -0,0 +1,1349 @@
    1694 +/////////////////////////////////////////////////////////////////////////////
    1695 +// Name:        wx/msw/setup.h
    1696 +// Purpose:     Configuration for the library
    1697 +// Author:      Julian Smart
    1698 +// Modified by:
    1699 +// Created:     01/02/97
    1700 +// RCS-ID:      $Id: setup0.h 51451 2008-01-29 23:11:55Z VZ $
    1701 +// Copyright:   (c) Julian Smart
    1702 +// Licence:     wxWindows licence
    1703 +/////////////////////////////////////////////////////////////////////////////
    1704 +
    1705 +#ifndef _WX_SETUP_H_
    1706 +#define _WX_SETUP_H_
    1707 +
    1708 +/* --- start common options --- */
    1709 +// ----------------------------------------------------------------------------
    1710 +// global settings
    1711 +// ----------------------------------------------------------------------------
    1712 +
    1713 +// define this to 0 when building wxBase library - this can also be done from
    1714 +// makefile/project file overriding the value here
    1715 +#ifndef wxUSE_GUI
    1716 +    #define wxUSE_GUI            1
    1717 +#endif // wxUSE_GUI
    1718 +
    1719 +// ----------------------------------------------------------------------------
    1720 +// compatibility settings
    1721 +// ----------------------------------------------------------------------------
    1722 +
    1723 +// This setting determines the compatibility with 2.4 API: set it to 1 to
    1724 +// enable it but please consider updating your code instead.
    1725 +//
    1726 +// Default is 0
    1727 +//
    1728 +// Recommended setting: 0 (please update your code)
    1729 +#define WXWIN_COMPATIBILITY_2_4 0
    1730 +
    1731 +// This setting determines the compatibility with 2.6 API: set it to 0 to
    1732 +// flag all cases of using deprecated functions.
    1733 +//
    1734 +// Default is 1 but please try building your code with 0 as the default will
    1735 +// change to 0 in the next version and the deprecated functions will disappear
    1736 +// in the version after it completely.
    1737 +//
    1738 +// Recommended setting: 0 (please update your code)
    1739 +#define WXWIN_COMPATIBILITY_2_6 1
    1740 +
    1741 +// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
    1742 +// default system font is used for wxWindow::GetCharWidth/Height() instead of
    1743 +// the current font.
    1744 +//
    1745 +// Default is 0
    1746 +//
    1747 +// Recommended setting: 0
    1748 +#define wxDIALOG_UNIT_COMPATIBILITY   0
    1749 +
    1750 +// ----------------------------------------------------------------------------
    1751 +// debugging settings
    1752 +// ----------------------------------------------------------------------------
    1753 +
    1754 +// Generic comment about debugging settings: they are very useful if you don't
    1755 +// use any other memory leak detection tools such as Purify/BoundsChecker, but
    1756 +// are probably redundant otherwise. Also, Visual C++ CRT has the same features
    1757 +// as wxWidgets memory debugging subsystem built in since version 5.0 and you
    1758 +// may prefer to use it instead of built in memory debugging code because it is
    1759 +// faster and more fool proof.
    1760 +//
    1761 +// Using VC++ CRT memory debugging is enabled by default in debug mode
    1762 +// (__WXDEBUG__) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0)
    1763 +// and if __NO_VC_CRTDBG__ is not defined.
    1764 +
    1765 +// If 1, enables wxDebugContext, for writing error messages to file, etc. If
    1766 +// __WXDEBUG__ is not defined, will still use the normal memory operators.
    1767 +//
    1768 +// Default is 0
    1769 +//
    1770 +// Recommended setting: 0
    1771 +#define wxUSE_DEBUG_CONTEXT 0
    1772 +
    1773 +// If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
    1774 +// __WXDEBUG__ is also defined.
    1775 +//
    1776 +// WARNING: this code may not work with all architectures, especially if
    1777 +// alignment is an issue. This switch is currently ignored for mingw / cygwin
    1778 +//
    1779 +// Default is 0
    1780 +//
    1781 +// Recommended setting: 1 if you are not using a memory debugging tool, else 0
    1782 +#define wxUSE_MEMORY_TRACING 0
    1783 +
    1784 +// In debug mode, cause new and delete to be redefined globally.
    1785 +// If this causes problems (e.g. link errors which is a common problem
    1786 +// especially if you use another library which also redefines the global new
    1787 +// and delete), set this to 0.
    1788 +// This switch is currently ignored for mingw / cygwin
    1789 +//
    1790 +// Default is 0
    1791 +//
    1792 +// Recommended setting: 0
    1793 +#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
    1794 +
    1795 +// In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If
    1796 +// this causes problems (e.g. link errors), set this to 0. You may need to set
    1797 +// this to 0 if using templates (at least for VC++). This switch is currently
    1798 +// ignored for mingw / cygwin / CodeWarrior
    1799 +//
    1800 +// Default is 0
    1801 +//
    1802 +// Recommended setting: 0
    1803 +#define wxUSE_DEBUG_NEW_ALWAYS 0
    1804 +
    1805 +// wxHandleFatalExceptions() may be used to catch the program faults at run
    1806 +// time and, instead of terminating the program with a usual GPF message box,
    1807 +// call the user-defined wxApp::OnFatalException() function. If you set
    1808 +// wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work.
    1809 +//
    1810 +// This setting is for Win32 only and can only be enabled if your compiler
    1811 +// supports Win32 structured exception handling (currently only VC++ does)
    1812 +//
    1813 +// Default is 1
    1814 +//
    1815 +// Recommended setting: 1 if your compiler supports it.
    1816 +#define wxUSE_ON_FATAL_EXCEPTION 1
    1817 +
    1818 +// Set this to 1 to be able to generate a human-readable (unlike
    1819 +// machine-readable minidump created by wxCrashReport::Generate()) stack back
    1820 +// trace when your program crashes using wxStackWalker
    1821 +//
    1822 +// Default is 1 if supported by the compiler.
    1823 +//
    1824 +// Recommended setting: 1, set to 0 if your programs never crash
    1825 +#define wxUSE_STACKWALKER 1
    1826 +
    1827 +// Set this to 1 to compile in wxDebugReport class which allows you to create
    1828 +// and optionally upload to your web site a debug report consisting of back
    1829 +// trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
    1830 +//
    1831 +// Default is 1 if supported by the compiler.
    1832 +//
    1833 +// Recommended setting: 1, it is compiled into a separate library so there
    1834 +//                         is no overhead if you don't use it
    1835 +#define wxUSE_DEBUGREPORT 0
    1836 +
    1837 +// ----------------------------------------------------------------------------
    1838 +// Unicode support
    1839 +// ----------------------------------------------------------------------------
    1840 +
    1841 +// Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be
    1842 +// defined as wchar_t, wxString will use Unicode internally. If you set this
    1843 +// to 1, you must use wxT() macro for all literal strings in the program.
    1844 +//
    1845 +// Unicode is currently only fully supported under Windows NT/2000/XP
    1846 +// (Windows 9x doesn't support it and the programs compiled in Unicode mode
    1847 +// will not run under 9x -- but see wxUSE_UNICODE_MSLU below).
    1848 +//
    1849 +// Default is 0
    1850 +//
    1851 +// Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP)
    1852 +#ifndef wxUSE_UNICODE
    1853 +    #define wxUSE_UNICODE 0
    1854 +#endif
    1855 +
    1856 +// Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
    1857 +// compiling the program in Unicode mode. More precisely, it will be possible
    1858 +// to construct wxString from a wide (Unicode) string and convert any wxString
    1859 +// to Unicode.
    1860 +//
    1861 +// Default is 1
    1862 +//
    1863 +// Recommended setting: 1
    1864 +#define wxUSE_WCHAR_T 1
    1865 +
    1866 +// ----------------------------------------------------------------------------
    1867 +// global features
    1868 +// ----------------------------------------------------------------------------
    1869 +
    1870 +// Compile library in exception-safe mode? If set to 1, the library will try to
    1871 +// behave correctly in presence of exceptions (even though it still will not
    1872 +// use the exceptions itself) and notify the user code about any unhandled
    1873 +// exceptions. If set to 0, propagation of the exceptions through the library
    1874 +// code will lead to undefined behaviour -- but the code itself will be
    1875 +// slightly smaller and faster.
    1876 +//
    1877 +// Note that like wxUSE_THREADS this option is automatically set to 0 if
    1878 +// wxNO_EXCEPTIONS is defined.
    1879 +//
    1880 +// Default is 1
    1881 +//
    1882 +// Recommended setting: depends on whether you intend to use C++ exceptions
    1883 +//                      in your own code (1 if you do, 0 if you don't)
    1884 +#define wxUSE_EXCEPTIONS    0
    1885 +
    1886 +// Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
    1887 +//
    1888 +// Default is 0
    1889 +//
    1890 +// Recommended setting: 0 (this is still work in progress...)
    1891 +#define wxUSE_EXTENDED_RTTI 0
    1892 +
    1893 +// Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from
    1894 +// std::list<Foo*> and std::vector<Foo*>, with a compatibility interface,
    1895 +// and for wxHashMap to be implemented with templates.
    1896 +//
    1897 +// Default is 0
    1898 +//
    1899 +// Recommended setting: YMMV
    1900 +#define wxUSE_STL 0
    1901 +
    1902 +// Support for message/error logging. This includes wxLogXXX() functions and
    1903 +// wxLog and derived classes. Don't set this to 0 unless you really know what
    1904 +// you are doing.
    1905 +//
    1906 +// Default is 1
    1907 +//
    1908 +// Recommended setting: 1 (always)
    1909 +#define wxUSE_LOG 1
    1910 +
    1911 +// Recommended setting: 1
    1912 +#define wxUSE_LOGWINDOW 1
    1913 +
    1914 +// Recommended setting: 1
    1915 +#define wxUSE_LOGGUI 1
    1916 +
    1917 +// Recommended setting: 1
    1918 +#define wxUSE_LOG_DIALOG 1
    1919 +
    1920 +// Support for command line parsing using wxCmdLineParser class.
    1921 +//
    1922 +// Default is 1
    1923 +//
    1924 +// Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
    1925 +#define wxUSE_CMDLINE_PARSER 1
    1926 +
    1927 +// Support for multithreaded applications: if 1, compile in thread classes
    1928 +// (thread.h) and make the library a bit more thread safe. Although thread
    1929 +// support is quite stable by now, you may still consider recompiling the
    1930 +// library without it if you have no use for it - this will result in a
    1931 +// somewhat smaller and faster operation.
    1932 +//
    1933 +// Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
    1934 +// to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
    1935 +// build/msw/config.* file this value will have no effect.
    1936 +//
    1937 +// Default is 1
    1938 +//
    1939 +// Recommended setting: 0 unless you do plan to develop MT applications
    1940 +#define wxUSE_THREADS 1
    1941 +
    1942 +// If enabled, compiles wxWidgets streams classes
    1943 +//
    1944 +// wx stream classes are used for image IO, process IO redirection, network
    1945 +// protocols implementation and much more and so disabling this results in a
    1946 +// lot of other functionality being lost.
    1947 +//
    1948 +// Default is 1
    1949 +//
    1950 +// Recommended setting: 1 as setting it to 0 disables many other things
    1951 +#define wxUSE_STREAMS       1
    1952 +
    1953 +// Use standard C++ streams if 1 instead of wx streams in some places. If
    1954 +// disabled (default), wx streams are used everywhere and wxWidgets doesn't
    1955 +// depend on the standard streams library.
    1956 +//
    1957 +// Notice that enabling this does not replace wx streams with std streams
    1958 +// everywhere, in a lot of places wx streams are used no matter what.
    1959 +//
    1960 +// Default is 0
    1961 +//
    1962 +// Recommended setting: 1 if you use the standard streams anyhow and so
    1963 +//                      dependency on the standard streams library is not a
    1964 +//                      problem
    1965 +#define wxUSE_STD_IOSTREAM  0
    1966 +
    1967 +// Enable conversion to standard C++ string if 1.
    1968 +//
    1969 +// Default is 1 for most compilers.
    1970 +//
    1971 +// Currently the Digital Mars and Watcom compilers come without standard C++
    1972 +// library headers by default, wxUSE_STD_STRING can be set to 1 if you do have
    1973 +// them (e.g. from STLPort).
    1974 +//
    1975 +// VC++ 5.0 does include standard C++ library header, however they produce
    1976 +// many warnings that can't be turned off when compiled at warning level 4.
    1977 +#if defined(__DMC__) || defined(__WATCOMC__) \
    1978 +        || (defined(_MSC_VER) && _MSC_VER < 1200)
    1979 +    #define wxUSE_STD_STRING  0
    1980 +#else
    1981 +    #define wxUSE_STD_STRING  1
    1982 +#endif
    1983 +
    1984 +// Support for positional parameters (e.g. %1$d, %2$s ...) in wxVsnprintf.
    1985 +// Note that if the system's implementation does not support positional
    1986 +// parameters, setting this to 1 forces the use of the wxWidgets implementation
    1987 +// of wxVsnprintf. The standard vsnprintf() supports positional parameters on
    1988 +// many Unix systems but usually doesn't under Windows.
    1989 +//
    1990 +// Positional parameters are very useful when translating a program since using
    1991 +// them in formatting strings allow translators to correctly reorder the
    1992 +// translated sentences.
    1993 +//
    1994 +// Default is 1
    1995 +//
    1996 +// Recommended setting: 1 if you want to support multiple languages
    1997 +#define wxUSE_PRINTF_POS_PARAMS      1
    1998 +
    1999 +// ----------------------------------------------------------------------------
    2000 +// non GUI features selection
    2001 +// ----------------------------------------------------------------------------
    2002 +
    2003 +// Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit
    2004 +// integer which is implemented in terms of native 64 bit integers if any or
    2005 +// uses emulation otherwise.
    2006 +//
    2007 +// This class is required by wxDateTime and so you should enable it if you want
    2008 +// to use wxDateTime. For most modern platforms, it will use the native 64 bit
    2009 +// integers in which case (almost) all of its functions are inline and it
    2010 +// almost does not take any space, so there should be no reason to switch it
    2011 +// off.
    2012 +//
    2013 +// Recommended setting: 1
    2014 +#define wxUSE_LONGLONG      1
    2015 +
    2016 +// Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level
    2017 +// POSIX functions for file access, wxFFile uses ANSI C stdio.h functions.
    2018 +//
    2019 +// Default is 1
    2020 +//
    2021 +// Recommended setting: 1 (wxFile is highly recommended as it is required by
    2022 +// i18n code, wxFileConfig and others)
    2023 +#define wxUSE_FILE          1
    2024 +#define wxUSE_FFILE         1
    2025 +
    2026 +// Use wxFSVolume class providing access to the configured/active mount points
    2027 +//
    2028 +// Default is 1
    2029 +//
    2030 +// Recommended setting: 1 (but may be safely disabled if you don't use it)
    2031 +#define wxUSE_FSVOLUME      1
    2032 +
    2033 +// Use wxStandardPaths class which allows to retrieve some standard locations
    2034 +// in the file system
    2035 +//
    2036 +// Default is 1
    2037 +//
    2038 +// Recommended setting: 1 (may be disabled to save space, but not much)
    2039 +#define wxUSE_STDPATHS      1
    2040 +
    2041 +// use wxTextBuffer class: required by wxTextFile
    2042 +#define wxUSE_TEXTBUFFER    1
    2043 +
    2044 +// use wxTextFile class: requires wxFile and wxTextBuffer, required by
    2045 +// wxFileConfig
    2046 +#define wxUSE_TEXTFILE      1
    2047 +
    2048 +// i18n support: _() macro, wxLocale class. Requires wxTextFile.
    2049 +#define wxUSE_INTL          1
    2050 +
    2051 +// Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which
    2052 +// allow to manipulate dates, times and time intervals. wxDateTime replaces the
    2053 +// old wxTime and wxDate classes which are still provided for backwards
    2054 +// compatibility (and implemented in terms of wxDateTime).
    2055 +//
    2056 +// Note that this class is relatively new and is still officially in alpha
    2057 +// stage because some features are not yet (fully) implemented. It is already
    2058 +// quite useful though and should only be disabled if you are aiming at
    2059 +// absolutely minimal version of the library.
    2060 +//
    2061 +// Requires: wxUSE_LONGLONG
    2062 +//
    2063 +// Default is 1
    2064 +//
    2065 +// Recommended setting: 1
    2066 +#define wxUSE_DATETIME      1
    2067 +
    2068 +// Set wxUSE_TIMER to 1 to compile wxTimer class
    2069 +//
    2070 +// Default is 1
    2071 +//
    2072 +// Recommended setting: 1
    2073 +#define wxUSE_TIMER         1
    2074 +
    2075 +// Use wxStopWatch clas.
    2076 +//
    2077 +// Default is 1
    2078 +//
    2079 +// Recommended setting: 1 (needed by wxSocket)
    2080 +#define wxUSE_STOPWATCH     1
    2081 +
    2082 +// Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
    2083 +// which allow the application to store its settings in the persistent
    2084 +// storage. Setting this to 1 will also enable on-demand creation of the
    2085 +// global config object in wxApp.
    2086 +//
    2087 +// See also wxUSE_CONFIG_NATIVE below.
    2088 +//
    2089 +// Recommended setting: 1
    2090 +#define wxUSE_CONFIG        1
    2091 +
    2092 +// If wxUSE_CONFIG is 1, you may choose to use either the native config
    2093 +// classes under Windows (using .INI files under Win16 and the registry under
    2094 +// Win32) or the portable text file format used by the config classes under
    2095 +// Unix.
    2096 +//
    2097 +// Default is 1 to use native classes. Note that you may still use
    2098 +// wxFileConfig even if you set this to 1 - just the config object created by
    2099 +// default for the applications needs will be a wxRegConfig or wxIniConfig and
    2100 +// not wxFileConfig.
    2101 +//
    2102 +// Recommended setting: 1
    2103 +#define wxUSE_CONFIG_NATIVE   1
    2104 +
    2105 +// If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows
    2106 +// to connect/disconnect from the network and be notified whenever the dial-up
    2107 +// network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER.
    2108 +//
    2109 +// Default is 1.
    2110 +//
    2111 +// Recommended setting: 1
    2112 +#define wxUSE_DIALUP_MANAGER   0
    2113 +
    2114 +// Compile in classes for run-time DLL loading and function calling.
    2115 +// Required by wxUSE_DIALUP_MANAGER.
    2116 +//
    2117 +// This setting is for Win32 only
    2118 +//
    2119 +// Default is 1.
    2120 +//
    2121 +// Recommended setting: 1
    2122 +#define wxUSE_DYNLIB_CLASS    1
    2123 +
    2124 +// experimental, don't use for now
    2125 +#define wxUSE_DYNAMIC_LOADER  1
    2126 +
    2127 +// Set to 1 to use socket classes
    2128 +#define wxUSE_SOCKETS       1
    2129 +
    2130 +// Set to 1 to enable virtual file systems (required by wxHTML)
    2131 +#define wxUSE_FILESYSTEM    1
    2132 +
    2133 +// Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
    2134 +#define wxUSE_FS_ZIP        1
    2135 +
    2136 +// Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
    2137 +#define wxUSE_FS_ARCHIVE    1
    2138 +
    2139 +// Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
    2140 +#define wxUSE_FS_INET       1
    2141 +
    2142 +// wxArchive classes for accessing archives such as zip and tar
    2143 +#define wxUSE_ARCHIVE_STREAMS     1
    2144 +
    2145 +// Set to 1 to compile wxZipInput/OutputStream classes.
    2146 +#define wxUSE_ZIPSTREAM     1
    2147 +
    2148 +// Set to 1 to compile wxTarInput/OutputStream classes.
    2149 +#define wxUSE_TARSTREAM     1
    2150 +
    2151 +// Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
    2152 +// wxUSE_LIBPNG
    2153 +#define wxUSE_ZLIB          1
    2154 +
    2155 +// If enabled, the code written by Apple will be used to write, in a portable
    2156 +// way, float on the disk. See extended.c for the license which is different
    2157 +// from wxWidgets one.
    2158 +//
    2159 +// Default is 1.
    2160 +//
    2161 +// Recommended setting: 1 unless you don't like the license terms (unlikely)
    2162 +#define wxUSE_APPLE_IEEE          1
    2163 +
    2164 +// Joystick support class
    2165 +#define wxUSE_JOYSTICK            1
    2166 +
    2167 +// wxFontMapper class
    2168 +#define wxUSE_FONTMAP 1
    2169 +
    2170 +// wxMimeTypesManager class
    2171 +#define wxUSE_MIMETYPE 1
    2172 +
    2173 +// wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
    2174 +// or wxURL you need to set this to 1.
    2175 +//
    2176 +// Default is 1.
    2177 +//
    2178 +// Recommended setting: 1
    2179 +#define wxUSE_PROTOCOL 1
    2180 +
    2181 +// The settings for the individual URL schemes
    2182 +#define wxUSE_PROTOCOL_FILE 1
    2183 +#define wxUSE_PROTOCOL_FTP 1
    2184 +#define wxUSE_PROTOCOL_HTTP 1
    2185 +
    2186 +// Define this to use wxURL class.
    2187 +#define wxUSE_URL 1
    2188 +
    2189 +// Define this to use native platform url and protocol support.
    2190 +// Currently valid only for MS-Windows.
    2191 +// Note: if you set this to 1, you can open ftp/http/gopher sites
    2192 +// and obtain a valid input stream for these sites
    2193 +// even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.
    2194 +// Doing so reduces the code size.
    2195 +//
    2196 +// This code is experimental and subject to change.
    2197 +#define wxUSE_URL_NATIVE 0
    2198 +
    2199 +// Support for wxVariant class used in several places throughout the library,
    2200 +// notably in wxDataViewCtrl API.
    2201 +//
    2202 +// Default is 1.
    2203 +//
    2204 +// Recommended setting: 1 unless you want to reduce the library size as much as
    2205 +// possible in which case setting this to 0 can gain up to 100KB.
    2206 +#define wxUSE_VARIANT 1
    2207 +
    2208 +// Support for regular expression matching via wxRegEx class: enable this to
    2209 +// use POSIX regular expressions in your code. You need to compile regex
    2210 +// library from src/regex to use it under Windows.
    2211 +//
    2212 +// Default is 0
    2213 +//
    2214 +// Recommended setting: 1 if your compiler supports it, if it doesn't please
    2215 +// contribute us a makefile for src/regex for it
    2216 +#define wxUSE_REGEX       1
    2217 +
    2218 +// wxSystemOptions class
    2219 +#define wxUSE_SYSTEM_OPTIONS 1
    2220 +
    2221 +// wxSound class
    2222 +#define wxUSE_SOUND      1
    2223 +
    2224 +// Use wxMediaCtrl
    2225 +//
    2226 +// Default is 1.
    2227 +//
    2228 +// Recommended setting: 1
    2229 +#define wxUSE_MEDIACTRL     1
    2230 +
    2231 +// Use GStreamer for Unix (req a lot of dependancies)
    2232 +//
    2233 +// Default is 0
    2234 +//
    2235 +// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
    2236 +#define wxUSE_GSTREAMER    0
    2237 +
    2238 +// Use wxWidget's XRC XML-based resource system.  Recommended.
    2239 +//
    2240 +// Default is 1
    2241 +//
    2242 +// Recommended setting: 1 (requires wxUSE_XML)
    2243 +#define wxUSE_XRC       1
    2244 +
    2245 +// XML parsing classes. Note that their API will change in the future, so
    2246 +// using wxXmlDocument and wxXmlNode in your app is not recommended.
    2247 +//
    2248 +// Default is the same as wxUSE_XRC, i.e. 1 by default.
    2249 +//
    2250 +// Recommended setting: 1 (required by XRC)
    2251 +#define wxUSE_XML       wxUSE_XRC
    2252 +
    2253 +// Use wxWidget's AUI docking system
    2254 +//
    2255 +// Default is 1
    2256 +//
    2257 +// Recommended setting: 1
    2258 +#define wxUSE_AUI       1
    2259 +
    2260 +
    2261 +// Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
    2262 +// 2D drawing API.  (Still somewhat experimental)
    2263 +//
    2264 +// Please note that on Windows you will need to link with gdiplus.lib (use
    2265 +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your
    2266 +// application if you want it to be runnable on pre-XP systems.
    2267 +//
    2268 +// Default is 0
    2269 +//
    2270 +// Recommended setting: 1
    2271 +#ifndef wxUSE_GRAPHICS_CONTEXT
    2272 +#define wxUSE_GRAPHICS_CONTEXT 1
    2273 +#endif
    2274 +
    2275 +// ----------------------------------------------------------------------------
    2276 +// Individual GUI controls
    2277 +// ----------------------------------------------------------------------------
    2278 +
    2279 +// You must set wxUSE_CONTROLS to 1 if you are using any controls at all
    2280 +// (without it, wxControl class is not compiled)
    2281 +//
    2282 +// Default is 1
    2283 +//
    2284 +// Recommended setting: 1 (don't change except for very special programs)
    2285 +#define wxUSE_CONTROLS     1
    2286 +
    2287 +// wxPopupWindow class is a top level transient window. It is currently used
    2288 +// to implement wxTipWindow
    2289 +//
    2290 +// Default is 1
    2291 +//
    2292 +// Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
    2293 +#define wxUSE_POPUPWIN     1
    2294 +
    2295 +// wxTipWindow allows to implement the custom tooltips, it is used by the
    2296 +// context help classes. Requires wxUSE_POPUPWIN.
    2297 +//
    2298 +// Default is 1
    2299 +//
    2300 +// Recommended setting: 1 (may be set to 0)
    2301 +#define wxUSE_TIPWINDOW    1
    2302 +
    2303 +// Each of the settings below corresponds to one wxWidgets control. They are
    2304 +// all switched on by default but may be disabled if you are sure that your
    2305 +// program (including any standard dialogs it can show!) doesn't need them and
    2306 +// if you desperately want to save some space. If you use any of these you must
    2307 +// set wxUSE_CONTROLS as well.
    2308 +//
    2309 +// Default is 1
    2310 +//
    2311 +// Recommended setting: 1
    2312 +#define wxUSE_ANIMATIONCTRL 1   // wxAnimationCtrl
    2313 +#define wxUSE_BUTTON        1   // wxButton
    2314 +#define wxUSE_BMPBUTTON     1   // wxBitmapButton
    2315 +#define wxUSE_CALENDARCTRL  1   // wxCalendarCtrl
    2316 +#define wxUSE_CHECKBOX      1   // wxCheckBox
    2317 +#define wxUSE_CHECKLISTBOX  1   // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
    2318 +#define wxUSE_CHOICE        1   // wxChoice
    2319 +#define wxUSE_COLLPANE      1   // wxCollapsiblePane
    2320 +#define wxUSE_COLOURPICKERCTRL 1    // wxColourPickerCtrl
    2321 +#define wxUSE_COMBOBOX      1   // wxComboBox
    2322 +#define wxUSE_DATAVIEWCTRL  1   // wxDataViewCtrl
    2323 +#define wxUSE_DATEPICKCTRL  1   // wxDatePickerCtrl
    2324 +#define wxUSE_DIRPICKERCTRL 1   // wxDirPickerCtrl
    2325 +#define wxUSE_FILEPICKERCTRL 1  // wxFilePickerCtrl
    2326 +#define wxUSE_FONTPICKERCTRL 1  // wxFontPickerCtrl
    2327 +#define wxUSE_GAUGE         1   // wxGauge
    2328 +#define wxUSE_HYPERLINKCTRL 1   // wxHyperlinkCtrl
    2329 +#define wxUSE_LISTBOX       1   // wxListBox
    2330 +#define wxUSE_LISTCTRL      1   // wxListCtrl
    2331 +#define wxUSE_RADIOBOX      1   // wxRadioBox
    2332 +#define wxUSE_RADIOBTN      1   // wxRadioButton
    2333 +#define wxUSE_SCROLLBAR     1   // wxScrollBar
    2334 +#define wxUSE_SEARCHCTRL    1   // wxSearchCtrl
    2335 +#define wxUSE_SLIDER        1   // wxSlider
    2336 +#define wxUSE_SPINBTN       1   // wxSpinButton
    2337 +#define wxUSE_SPINCTRL      1   // wxSpinCtrl
    2338 +#define wxUSE_STATBOX       1   // wxStaticBox
    2339 +#define wxUSE_STATLINE      1   // wxStaticLine
    2340 +#define wxUSE_STATTEXT      1   // wxStaticText
    2341 +#define wxUSE_STATBMP       1   // wxStaticBitmap
    2342 +#define wxUSE_TEXTCTRL      1   // wxTextCtrl
    2343 +#define wxUSE_TOGGLEBTN     1   // requires wxButton
    2344 +#define wxUSE_TREECTRL      1   // wxTreeCtrl
    2345 +
    2346 +// Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR
    2347 +// below either wxStatusBar95 or a generic wxStatusBar will be used.
    2348 +//
    2349 +// Default is 1
    2350 +//
    2351 +// Recommended setting: 1
    2352 +#define wxUSE_STATUSBAR    1
    2353 +
    2354 +// Two status bar implementations are available under Win32: the generic one
    2355 +// or the wrapper around native control. For native look and feel the native
    2356 +// version should be used.
    2357 +//
    2358 +// Default is 1 for the platforms where native status bar is supported.
    2359 +//
    2360 +// Recommended setting: 1 (there is no advantage in using the generic one)
    2361 +#define wxUSE_NATIVE_STATUSBAR        1
    2362 +
    2363 +// wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
    2364 +// classes at all. Otherwise, use the native toolbar class unless
    2365 +// wxUSE_TOOLBAR_NATIVE is 0.
    2366 +//
    2367 +// Default is 1 for all settings.
    2368 +//
    2369 +// Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
    2370 +#define wxUSE_TOOLBAR 1
    2371 +#define wxUSE_TOOLBAR_NATIVE 1
    2372 +
    2373 +// wxNotebook is a control with several "tabs" located on one of its sides. It
    2374 +// may be used to logically organise the data presented to the user instead of
    2375 +// putting everything in one huge dialog. It replaces wxTabControl and related
    2376 +// classes of wxWin 1.6x.
    2377 +//
    2378 +// Default is 1.
    2379 +//
    2380 +// Recommended setting: 1
    2381 +#define wxUSE_NOTEBOOK 1
    2382 +
    2383 +// wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
    2384 +// the tabs
    2385 +//
    2386 +// Default is 1.
    2387 +//
    2388 +// Recommended setting: 1
    2389 +#define wxUSE_LISTBOOK 1
    2390 +
    2391 +// wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
    2392 +// the tabs
    2393 +//
    2394 +// Default is 1.
    2395 +//
    2396 +// Recommended setting: 1
    2397 +#define wxUSE_CHOICEBOOK 1
    2398 +
    2399 +// wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
    2400 +// the tabs
    2401 +//
    2402 +// Default is 1.
    2403 +//
    2404 +// Recommended setting: 1
    2405 +#define wxUSE_TREEBOOK 1
    2406 +
    2407 +// wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
    2408 +// tabs
    2409 +//
    2410 +// Default is 1.
    2411 +//
    2412 +// Recommended setting: 1
    2413 +#define wxUSE_TOOLBOOK 1
    2414 +
    2415 +// wxTabDialog is a generic version of wxNotebook but it is incompatible with
    2416 +// the new class. It shouldn't be used in new code.
    2417 +//
    2418 +// Default is 0.
    2419 +//
    2420 +// Recommended setting: 0 (use wxNotebook)
    2421 +#define wxUSE_TAB_DIALOG    0
    2422 +
    2423 +// wxGrid class
    2424 +//
    2425 +// Default is 1, set to 0 to cut down compilation time and binaries size if you
    2426 +// don't use it.
    2427 +//
    2428 +// Recommended setting: 1
    2429 +//
    2430 +#define wxUSE_GRID         1
    2431 +
    2432 +// wxMiniFrame class: a frame with narrow title bar
    2433 +//
    2434 +// Default is 1.
    2435 +//
    2436 +// Recommended setting: 1 (it doesn't cost almost anything)
    2437 +#define wxUSE_MINIFRAME 1
    2438 +
    2439 +// wxComboCtrl and related classes: combobox with custom popup window and
    2440 +// not necessarily a listbox.
    2441 +//
    2442 +// Default is 1.
    2443 +//
    2444 +// Recommended setting: 1 but can be safely set to 0 except for wxUniv where it
    2445 +//                      it used by wxComboBox
    2446 +#define wxUSE_COMBOCTRL 1
    2447 +
    2448 +// wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
    2449 +// items.
    2450 +//
    2451 +// Default is 1.
    2452 +//
    2453 +// Recommended setting: 1 but can be safely set to 0, except where it is
    2454 +//                      needed as a base class for generic wxBitmapComboBox.
    2455 +#define wxUSE_ODCOMBOBOX 1
    2456 +
    2457 +// wxBitmapComboBox is a combobox that can have images in front of text items.
    2458 +//
    2459 +// Default is 1.
    2460 +//
    2461 +// Recommended setting: 1 but can be safely set to 0
    2462 +#define wxUSE_BITMAPCOMBOBOX 1
    2463 +
    2464 +// ----------------------------------------------------------------------------
    2465 +// Miscellaneous GUI stuff
    2466 +// ----------------------------------------------------------------------------
    2467 +
    2468 +// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
    2469 +#define wxUSE_ACCEL 1
    2470 +
    2471 +// Hotkey support (currently Windows only)
    2472 +#define wxUSE_HOTKEY 1
    2473 +
    2474 +// Use wxCaret: a class implementing a "cursor" in a text control (called caret
    2475 +// under Windows).
    2476 +//
    2477 +// Default is 1.
    2478 +//
    2479 +// Recommended setting: 1 (can be safely set to 0, not used by the library)
    2480 +#define wxUSE_CARET         1
    2481 +
    2482 +// Use wxDisplay class: it allows enumerating all displays on a system and
    2483 +// their geometries as well as finding the display on which the given point or
    2484 +// window lies.
    2485 +//
    2486 +// Default is 1.
    2487 +//
    2488 +// Recommended setting: 1 if you need it, can be safely set to 0 otherwise
    2489 +#define wxUSE_DISPLAY       1
    2490 +
    2491 +// Miscellaneous geometry code: needed for Canvas library
    2492 +#define wxUSE_GEOMETRY            1
    2493 +
    2494 +// Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
    2495 +// wxListCtrl.
    2496 +//
    2497 +// Default is 1.
    2498 +//
    2499 +// Recommended setting: 1 (set it to 0 if you don't use any of the controls
    2500 +// enumerated above, then this class is mostly useless too)
    2501 +#define wxUSE_IMAGLIST      1
    2502 +
    2503 +// Use wxMenu, wxMenuBar, wxMenuItem.
    2504 +//
    2505 +// Default is 1.
    2506 +//
    2507 +// Recommended setting: 1 (can't be disabled under MSW)
    2508 +#define wxUSE_MENUS         1
    2509 +
    2510 +// Use wxSashWindow class.
    2511 +//
    2512 +// Default is 1.
    2513 +//
    2514 +// Recommended setting: 1
    2515 +#define wxUSE_SASH          1
    2516 +
    2517 +// Use wxSplitterWindow class.
    2518 +//
    2519 +// Default is 1.
    2520 +//
    2521 +// Recommended setting: 1
    2522 +#define wxUSE_SPLITTER      1
    2523 +
    2524 +// Use wxToolTip and wxWindow::Set/GetToolTip() methods.
    2525 +//
    2526 +// Default is 1.
    2527 +//
    2528 +// Recommended setting: 1
    2529 +#define wxUSE_TOOLTIPS      1
    2530 +
    2531 +// wxValidator class and related methods
    2532 +#define wxUSE_VALIDATORS 1
    2533 +
    2534 +// ----------------------------------------------------------------------------
    2535 +// common dialogs
    2536 +// ----------------------------------------------------------------------------
    2537 +
    2538 +// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g.
    2539 +// file selector, printer dialog). Switching this off also switches off the
    2540 +// printing architecture and interactive wxPrinterDC.
    2541 +//
    2542 +// Default is 1
    2543 +//
    2544 +// Recommended setting: 1 (unless it really doesn't work)
    2545 +#define wxUSE_COMMON_DIALOGS 1
    2546 +
    2547 +// wxBusyInfo displays window with message when app is busy. Works in same way
    2548 +// as wxBusyCursor
    2549 +#define wxUSE_BUSYINFO      1
    2550 +
    2551 +// Use single/multiple choice dialogs.
    2552 +//
    2553 +// Default is 1
    2554 +//
    2555 +// Recommended setting: 1 (used in the library itself)
    2556 +#define wxUSE_CHOICEDLG     1
    2557 +
    2558 +// Use colour picker dialog
    2559 +//
    2560 +// Default is 1
    2561 +//
    2562 +// Recommended setting: 1
    2563 +#define wxUSE_COLOURDLG     1
    2564 +
    2565 +// wxDirDlg class for getting a directory name from user
    2566 +#define wxUSE_DIRDLG 1
    2567 +
    2568 +// TODO: setting to choose the generic or native one
    2569 +
    2570 +// Use file open/save dialogs.
    2571 +//
    2572 +// Default is 1
    2573 +//
    2574 +// Recommended setting: 1 (used in many places in the library itself)
    2575 +#define wxUSE_FILEDLG       1
    2576 +
    2577 +// Use find/replace dialogs.
    2578 +//
    2579 +// Default is 1
    2580 +//
    2581 +// Recommended setting: 1 (but may be safely set to 0)
    2582 +#define wxUSE_FINDREPLDLG       1
    2583 +
    2584 +// Use font picker dialog
    2585 +//
    2586 +// Default is 1
    2587 +//
    2588 +// Recommended setting: 1 (used in the library itself)
    2589 +#define wxUSE_FONTDLG       1
    2590 +
    2591 +// Use wxMessageDialog and wxMessageBox.
    2592 +//
    2593 +// Default is 1
    2594 +//
    2595 +// Recommended setting: 1 (used in the library itself)
    2596 +#define wxUSE_MSGDLG        1
    2597 +
    2598 +// progress dialog class for lengthy operations
    2599 +#define wxUSE_PROGRESSDLG 1
    2600 +
    2601 +// support for startup tips (wxShowTip &c)
    2602 +#define wxUSE_STARTUP_TIPS 1
    2603 +
    2604 +// text entry dialog and wxGetTextFromUser function
    2605 +#define wxUSE_TEXTDLG 1
    2606 +
    2607 +// number entry dialog
    2608 +#define wxUSE_NUMBERDLG 1
    2609 +
    2610 +// splash screen class
    2611 +#define wxUSE_SPLASH 1
    2612 +
    2613 +// wizards
    2614 +#define wxUSE_WIZARDDLG 1
    2615 +
    2616 +// Compile in wxAboutBox() function showing the standard "About" dialog.
    2617 +//
    2618 +// Default is 1
    2619 +//
    2620 +// Recommended setting: 1 but can be set to 0 to save some space if you don't
    2621 +//                      use this function
    2622 +#define wxUSE_ABOUTDLG 1
    2623 +
    2624 +// ----------------------------------------------------------------------------
    2625 +// Metafiles support
    2626 +// ----------------------------------------------------------------------------
    2627 +
    2628 +// Windows supports the graphics format known as metafile which is, though not
    2629 +// portable, is widely used under Windows and so is supported by wxWin (under
    2630 +// Windows only, of course). Win16 (Win3.1) used the so-called "Window
    2631 +// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
    2632 +// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
    2633 +// default, WMFs will be used under Win16 and EMFs under Win32. This may be
    2634 +// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
    2635 +// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
    2636 +// in any metafile related classes at all.
    2637 +//
    2638 +// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
    2639 +//
    2640 +// Recommended setting: default or 0 for everything for portable programs.
    2641 +#define wxUSE_METAFILE              1
    2642 +#define wxUSE_ENH_METAFILE          1
    2643 +#define wxUSE_WIN_METAFILES_ALWAYS  0
    2644 +
    2645 +// ----------------------------------------------------------------------------
    2646 +// Big GUI components
    2647 +// ----------------------------------------------------------------------------
    2648 +
    2649 +// Set to 0 to disable MDI support.
    2650 +//
    2651 +// Requires wxUSE_NOTEBOOK under platforms other than MSW.
    2652 +//
    2653 +// Default is 1.
    2654 +//
    2655 +// Recommended setting: 1, can be safely set to 0.
    2656 +#define wxUSE_MDI 1
    2657 +
    2658 +// Set to 0 to disable document/view architecture
    2659 +#define wxUSE_DOC_VIEW_ARCHITECTURE 1
    2660 +
    2661 +// Set to 0 to disable MDI document/view architecture
    2662 +//
    2663 +// Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
    2664 +#define wxUSE_MDI_ARCHITECTURE    1
    2665 +
    2666 +// Set to 0 to disable print/preview architecture code
    2667 +#define wxUSE_PRINTING_ARCHITECTURE  1
    2668 +
    2669 +// wxHTML sublibrary allows to display HTML in wxWindow programs and much,
    2670 +// much more.
    2671 +//
    2672 +// Default is 1.
    2673 +//
    2674 +// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
    2675 +// smaller library.
    2676 +#define wxUSE_HTML          1
    2677 +
    2678 +// Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL
    2679 +// headers and libraries to be able to compile the library with wxUSE_GLCANVAS
    2680 +// set to 1. Note that for some compilers (notably Microsoft Visual C++) you
    2681 +// will need to manually add opengl32.lib and glu32.lib to the list of
    2682 +// libraries linked with your program if you use OpenGL.
    2683 +//
    2684 +// Default is 0.
    2685 +//
    2686 +// Recommended setting: 1 if you intend to use OpenGL, 0 otherwise
    2687 +#define wxUSE_GLCANVAS       1
    2688 +
    2689 +// wxRichTextCtrl allows editing of styled text.
    2690 +//
    2691 +// Default is 1.
    2692 +//
    2693 +// Recommended setting: 1, set to 0 if you want compile a
    2694 +// smaller library.
    2695 +#define wxUSE_RICHTEXT       1
    2696 +
    2697 +// ----------------------------------------------------------------------------
    2698 +// Data transfer
    2699 +// ----------------------------------------------------------------------------
    2700 +
    2701 +// Use wxClipboard class for clipboard copy/paste.
    2702 +//
    2703 +// Default is 1.
    2704 +//
    2705 +// Recommended setting: 1
    2706 +#define wxUSE_CLIPBOARD     1
    2707 +
    2708 +// Use wxDataObject and related classes. Needed for clipboard and OLE drag and
    2709 +// drop
    2710 +//
    2711 +// Default is 1.
    2712 +//
    2713 +// Recommended setting: 1
    2714 +#define wxUSE_DATAOBJ       1
    2715 +
    2716 +// Use wxDropTarget and wxDropSource classes for drag and drop (this is
    2717 +// different from "built in" drag and drop in wxTreeCtrl which is always
    2718 +// available). Requires wxUSE_DATAOBJ.
    2719 +//
    2720 +// Default is 1.
    2721 +//
    2722 +// Recommended setting: 1
    2723 +#define wxUSE_DRAG_AND_DROP 1
    2724 +
    2725 +// Use wxAccessible for enhanced and customisable accessibility.
    2726 +// Depends on wxUSE_OLE.
    2727 +//
    2728 +// Default is 0.
    2729 +//
    2730 +// Recommended setting (at present): 0
    2731 +#define wxUSE_ACCESSIBILITY 0
    2732 +
    2733 +// ----------------------------------------------------------------------------
    2734 +// miscellaneous settings
    2735 +// ----------------------------------------------------------------------------
    2736 +
    2737 +// wxSingleInstanceChecker class allows to verify at startup if another program
    2738 +// instance is running.
    2739 +//
    2740 +// Default is 1
    2741 +//
    2742 +// Recommended setting: 1 (the class is tiny, disabling it won't save much
    2743 +// space)
    2744 +#define wxUSE_SNGLINST_CHECKER  1
    2745 +
    2746 +#define wxUSE_DRAGIMAGE 1
    2747 +
    2748 +#define wxUSE_IPC         1
    2749 +                                // 0 for no interprocess comms
    2750 +#define wxUSE_HELP        1
    2751 +                                // 0 for no help facility
    2752 +
    2753 +// Should we use MS HTML help for wxHelpController? If disabled, neither
    2754 +// wxCHMHelpController nor wxBestHelpController are available.
    2755 +//
    2756 +// Default is 1 under MSW, 0 is always used for the other platforms.
    2757 +//
    2758 +// Recommended setting: 1, only set to 0 if you have trouble compiling
    2759 +// wxCHMHelpController (could be a problem with really ancient compilers)
    2760 +#define wxUSE_MS_HTML_HELP 1
    2761 +
    2762 +
    2763 +// Use wxHTML-based help controller?
    2764 +#define wxUSE_WXHTML_HELP 1
    2765 +
    2766 +#define wxUSE_RESOURCES   0
    2767 +                                // 0 for no wxGetResource/wxWriteResource
    2768 +#define wxUSE_CONSTRAINTS 1
    2769 +                                // 0 for no window layout constraint system
    2770 +
    2771 +#define wxUSE_SPLINES     1
    2772 +                                // 0 for no splines
    2773 +
    2774 +#define wxUSE_MOUSEWHEEL        1
    2775 +                                // Include mouse wheel support
    2776 +
    2777 +// ----------------------------------------------------------------------------
    2778 +// postscript support settings
    2779 +// ----------------------------------------------------------------------------
    2780 +
    2781 +// Set to 1 for PostScript device context.
    2782 +#define wxUSE_POSTSCRIPT  1
    2783 +
    2784 +// Set to 1 to use font metric files in GetTextExtent
    2785 +#define wxUSE_AFM_FOR_POSTSCRIPT 1
    2786 +
    2787 +// ----------------------------------------------------------------------------
    2788 +// database classes
    2789 +// ----------------------------------------------------------------------------
    2790 +
    2791 +// Define 1 to use ODBC classes
    2792 +#define wxUSE_ODBC          0
    2793 +
    2794 +// For backward compatibility reasons, this parameter now only controls the
    2795 +// default scrolling method used by cursors.  This default behavior can be
    2796 +// overriden by setting the second param of wxDB::wxDbGetConnection() or
    2797 +// wxDb() constructor to indicate whether the connection (and any wxDbTable()s
    2798 +// that use the connection) should support forward only scrolling of cursors,
    2799 +// or both forward and backward support for backward scrolling cursors is
    2800 +// dependent on the data source as well as the ODBC driver being used.
    2801 +#define wxODBC_FWD_ONLY_CURSORS         1
    2802 +
    2803 +// Default is 0.  Set to 1 to use the deprecated classes, enum types, function,
    2804 +// member variables.  With a setting of 1, full backward compatibility with the
    2805 +// 2.0.x release is possible. It is STRONGLY recommended that this be set to 0,
    2806 +// as future development will be done only on the non-deprecated
    2807 +// functions/classes/member variables/etc.
    2808 +#define wxODBC_BACKWARD_COMPATABILITY 0
    2809 +
    2810 +// ----------------------------------------------------------------------------
    2811 +// other compiler (mis)features
    2812 +// ----------------------------------------------------------------------------
    2813 +
    2814 +// Set this to 0 if your compiler can't cope with omission of prototype
    2815 +// parameters.
    2816 +//
    2817 +// Default is 1.
    2818 +//
    2819 +// Recommended setting: 1 (should never need to set this to 0)
    2820 +#define REMOVE_UNUSED_ARG   1
    2821 +
    2822 +// VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
    2823 +// them. Set to 1 for <iostream.h>, 0 for <iostream>. Note that VC++ 7.1
    2824 +// and later doesn't support wxUSE_IOSTREAMH == 1 and so <iostream> will be
    2825 +// used anyhow.
    2826 +//
    2827 +// Default is 1.
    2828 +//
    2829 +// Recommended setting: whatever your compiler likes more
    2830 +#define wxUSE_IOSTREAMH     1
    2831 +
    2832 +// ----------------------------------------------------------------------------
    2833 +// image format support
    2834 +// ----------------------------------------------------------------------------
    2835 +
    2836 +// wxImage supports many different image formats which can be configured at
    2837 +// compile-time. BMP is always supported, others are optional and can be safely
    2838 +// disabled if you don't plan to use images in such format sometimes saving
    2839 +// substantial amount of code in the final library.
    2840 +//
    2841 +// Some formats require an extra library which is included in wxWin sources
    2842 +// which is mentioned if it is the case.
    2843 +
    2844 +// Set to 1 for wxImage support (recommended).
    2845 +#define wxUSE_IMAGE         1
    2846 +
    2847 +// Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
    2848 +#define wxUSE_LIBPNG        1
    2849 +
    2850 +// Set to 1 for JPEG format support (requires libjpeg)
    2851 +#define wxUSE_LIBJPEG       1
    2852 +
    2853 +// Set to 1 for TIFF format support (requires libtiff)
    2854 +#define wxUSE_LIBTIFF       1
    2855 +
    2856 +// Set to 1 for TGA format support (loading only)
    2857 +#define wxUSE_TGA           1
    2858 +
    2859 +// Set to 1 for GIF format support
    2860 +#define wxUSE_GIF           1
    2861 +
    2862 +// Set to 1 for PNM format support
    2863 +#define wxUSE_PNM           1
    2864 +
    2865 +// Set to 1 for PCX format support
    2866 +#define wxUSE_PCX           1
    2867 +
    2868 +// Set to 1 for IFF format support (Amiga format)
    2869 +#define wxUSE_IFF           0
    2870 +
    2871 +// Set to 1 for XPM format support
    2872 +#define wxUSE_XPM           1
    2873 +
    2874 +// Set to 1 for MS Icons and Cursors format support
    2875 +#define wxUSE_ICO_CUR       1
    2876 +
    2877 +// Set to 1 to compile in wxPalette class
    2878 +#define wxUSE_PALETTE       1
    2879 +
    2880 +// ----------------------------------------------------------------------------
    2881 +// wxUniversal-only options
    2882 +// ----------------------------------------------------------------------------
    2883 +
    2884 +// Set to 1 to enable compilation of all themes, this is the default
    2885 +#define wxUSE_ALL_THEMES    1
    2886 +
    2887 +// Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
    2888 +// is unset, if it is set these options are not used; notice that metal theme
    2889 +// uses Win32 one
    2890 +#define wxUSE_THEME_GTK     0
    2891 +#define wxUSE_THEME_METAL   0
    2892 +#define wxUSE_THEME_MONO    0
    2893 +#define wxUSE_THEME_WIN32   0
    2894 +
    2895 +
    2896 +/* --- end common options --- */
    2897 +
    2898 +// ----------------------------------------------------------------------------
    2899 +// Windows-only settings
    2900 +// ----------------------------------------------------------------------------
    2901 +
    2902 +// Set wxUSE_UNICODE_MSLU to 1 if you're compiling wxWidgets in Unicode mode
    2903 +// and want to run your programs under Windows 9x and not only NT/2000/XP.
    2904 +// This setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see
    2905 +// http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx). Note
    2906 +// that you will have to modify the makefiles to include unicows.lib import
    2907 +// library as the first library (see installation instructions in install.txt
    2908 +// to learn how to do it when building the library or samples).
    2909 +//
    2910 +// If your compiler doesn't have unicows.lib, you can get a version of it at
    2911 +// http://libunicows.sourceforge.net
    2912 +//
    2913 +// Default is 0
    2914 +//
    2915 +// Recommended setting: 0 (1 if you want to deploy Unicode apps on 9x systems)
    2916 +#ifndef wxUSE_UNICODE_MSLU
    2917 +    #define wxUSE_UNICODE_MSLU 1
    2918 +#endif
    2919 +
    2920 +// Set this to 1 if you want to use wxWidgets and MFC in the same program. This
    2921 +// will override some other settings (see below)
    2922 +//
    2923 +// Default is 0.
    2924 +//
    2925 +// Recommended setting: 0 unless you really have to use MFC
    2926 +#define wxUSE_MFC           0
    2927 +
    2928 +// Set this to 1 for generic OLE support: this is required for drag-and-drop,
    2929 +// clipboard, OLE Automation. Only set it to 0 if your compiler is very old and
    2930 +// can't compile/doesn't have the OLE headers.
    2931 +//
    2932 +// Default is 1.
    2933 +//
    2934 +// Recommended setting: 1
    2935 +#define wxUSE_OLE           1
    2936 +
    2937 +// Set this to 1 to enable wxAutomationObject class.
    2938 +//
    2939 +// Default is 1.
    2940 +//
    2941 +// Recommended setting: 1 if you need to control other applications via OLE
    2942 +// Automation, can be safely set to 0 otherwise
    2943 +#define wxUSE_OLE_AUTOMATION 1
    2944 +
    2945 +// Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
    2946 +// controls in wx.
    2947 +//
    2948 +// Default is 1.
    2949 +//
    2950 +// Recommended setting: 1, required by wxMediaCtrl
    2951 +#define wxUSE_ACTIVEX 1
    2952 +
    2953 +// wxDC cacheing implementation
    2954 +#define wxUSE_DC_CACHEING 1
    2955 +
    2956 +// Set this to 1 to enable the use of DIB's for wxBitmap to support
    2957 +// bitmaps > 16MB on Win95/98/Me.  Set to 0 to use DDB's only.
    2958 +#define wxUSE_DIB_FOR_BITMAP 1
    2959 +
    2960 +// Set this to 1 to enable wxDIB class used internally for manipulating
    2961 +// wxBitmao data.
    2962 +//
    2963 +// Default is 1, set it to 0 only if you don't use wxImage neither
    2964 +//
    2965 +// Recommended setting: 1 (without it conversion to/from wxImage won't work)
    2966 +#define wxUSE_WXDIB 1
    2967 +
    2968 +// Set to 0 to disable PostScript print/preview architecture code under Windows
    2969 +// (just use Windows printing).
    2970 +#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
    2971 +
    2972 +// Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH
    2973 +// which allows to put more than ~32Kb of text in it even under Win9x (NT
    2974 +// doesn't have such limitation).
    2975 +//
    2976 +// Default is 1 for compilers which support it
    2977 +//
    2978 +// Recommended setting: 1, only set it to 0 if your compiler doesn't have
    2979 +//                      or can't compile <richedit.h>
    2980 +#define wxUSE_RICHEDIT  1
    2981 +
    2982 +// Set this to 1 to use extra features of richedit v2 and later controls
    2983 +//
    2984 +// Default is 1 for compilers which support it
    2985 +//
    2986 +// Recommended setting: 1
    2987 +#define wxUSE_RICHEDIT2 1
    2988 +
    2989 +// Set this to 1 to enable support for the owner-drawn menu and listboxes. This
    2990 +// is required by wxUSE_CHECKLISTBOX.
    2991 +//
    2992 +// Default is 1.
    2993 +//
    2994 +// Recommended setting: 1, set to 0 for a small library size reduction
    2995 +#define wxUSE_OWNER_DRAWN 1
    2996 +
    2997 +// Set to 1 to compile MS Windows XP theme engine support
    2998 +#define wxUSE_UXTHEME           1
    2999 +
    3000 +// Set to 1 to auto-adapt to MS Windows XP themes where possible
    3001 +// (notably, wxNotebook pages)
    3002 +#define wxUSE_UXTHEME_AUTO      1
    3003 +
    3004 +// Set to 1 to use InkEdit control (Tablet PC), if available
    3005 +#define wxUSE_INKEDIT  0
    3006 +
    3007 +// ----------------------------------------------------------------------------
    3008 +// Generic versions of native controls
    3009 +// ----------------------------------------------------------------------------
    3010 +
    3011 +// Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
    3012 +// native wxDatePickerCtrl
    3013 +//
    3014 +// Default is 0.
    3015 +//
    3016 +// Recommended setting: 0, this is mainly used for testing
    3017 +#define wxUSE_DATEPICKCTRL_GENERIC 1
    3018 +
    3019 +// ----------------------------------------------------------------------------
    3020 +// Crash debugging helpers
    3021 +// ----------------------------------------------------------------------------
    3022 +
    3023 +// Set this to 1 to be able to use wxCrashReport::Generate() to create mini
    3024 +// dumps of your program when it crashes (or at any other moment)
    3025 +//
    3026 +// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
    3027 +//
    3028 +// Recommended setting: 1, set to 0 if your programs never crash
    3029 +#define wxUSE_CRASHREPORT 1
    3030 +
    3031 +// ----------------------------------------------------------------------------
    3032 +// obsolete settings
    3033 +// ----------------------------------------------------------------------------
    3034 +
    3035 +// NB: all settings in this section are obsolete and should not be used/changed
    3036 +//     at all, they will disappear
    3037 +
    3038 +// Define 1 to use bitmap messages.
    3039 +#define wxUSE_BITMAP_MESSAGE         1
    3040 +
    3041 +#endif // _WX_SETUP_H_
    3042 +
    3043 diff '--exclude-from=wxPython-src-2.8.9.1/exclude' -Nur orig/wxPython-src-2.8.9.1//lib/vc_dll/mswu/build.cfg wxPython-src-2.8.9.1//lib/vc_dll/mswu/build.cfg
    3044 --- orig/wxPython-src-2.8.9.1//lib/vc_dll/mswu/build.cfg        1970-01-01 01:00:00.000000000 +0100
    3045 +++ wxPython-src-2.8.9.1//lib/vc_dll/mswu/build.cfg     2009-06-25 23:46:18.000000000 +0200
    3046 @@ -0,0 +1,31 @@
    3047 +WXVER_MAJOR=2
    3048 +WXVER_MINOR=8
    3049 +WXVER_RELEASE=8
    3050 +BUILD=release
    3051 +MONOLITHIC=0
    3052 +SHARED=1
    3053 +UNICODE=1
    3054 +WXUNIV=0
    3055 +CFG=
    3056 +VENDOR=
    3057 +OFFICIAL_BUILD=1
    3058 +DEBUG_FLAG=default
    3059 +DEBUG_INFO=default
    3060 +RUNTIME_LIBS=dynamic
    3061 +MSLU=1
    3062 +USE_EXCEPTIONS=1
    3063 +USE_THREADS=1
    3064 +USE_GUI=1
    3065 +USE_HTML=1
    3066 +USE_MEDIA=1
    3067 +USE_ODBC=0
    3068 +USE_OPENGL=1
    3069 +USE_QA=1
    3070 +USE_GDIPLUS=1
    3071 +COMPILER=vc
    3072 +CC=cl
    3073 +CXX=cl
    3074 +CFLAGS=
    3075 +CPPFLAGS=
    3076 +CXXFLAGS=
    3077 +LDFLAGS=
    3078 diff '--exclude-from=wxPython-src-2.8.9.1/exclude' -Nur orig/wxPython-src-2.8.9.1//lib/vc_dll/mswu/wx/setup.h wxPython-src-2.8.9.1//lib/vc_dll/mswu/wx/setup.h
    3079 --- orig/wxPython-src-2.8.9.1//lib/vc_dll/mswu/wx/setup.h       1970-01-01 01:00:00.000000000 +0100
    3080 +++ wxPython-src-2.8.9.1//lib/vc_dll/mswu/wx/setup.h    2009-01-30 18:59:12.000000000 +0100
    3081 @@ -0,0 +1,1349 @@
    3082 +/////////////////////////////////////////////////////////////////////////////
    3083 +// Name:        wx/msw/setup.h
    3084 +// Purpose:     Configuration for the library
    3085 +// Author:      Julian Smart
    3086 +// Modified by:
    3087 +// Created:     01/02/97
    3088 +// RCS-ID:      $Id: setup0.h 51451 2008-01-29 23:11:55Z VZ $
    3089 +// Copyright:   (c) Julian Smart
    3090 +// Licence:     wxWindows licence
    3091 +/////////////////////////////////////////////////////////////////////////////
    3092 +
    3093 +#ifndef _WX_SETUP_H_
    3094 +#define _WX_SETUP_H_
    3095 +
    3096 +/* --- start common options --- */
    3097 +// ----------------------------------------------------------------------------
    3098 +// global settings
    3099 +// ----------------------------------------------------------------------------
    3100 +
    3101 +// define this to 0 when building wxBase library - this can also be done from
    3102 +// makefile/project file overriding the value here
    3103 +#ifndef wxUSE_GUI
    3104 +    #define wxUSE_GUI            1
    3105 +#endif // wxUSE_GUI
    3106 +
    3107 +// ----------------------------------------------------------------------------
    3108 +// compatibility settings
    3109 +// ----------------------------------------------------------------------------
    3110 +
    3111 +// This setting determines the compatibility with 2.4 API: set it to 1 to
    3112 +// enable it but please consider updating your code instead.
    3113 +//
    3114 +// Default is 0
    3115 +//
    3116 +// Recommended setting: 0 (please update your code)
    3117 +#define WXWIN_COMPATIBILITY_2_4 0
    3118 +
    3119 +// This setting determines the compatibility with 2.6 API: set it to 0 to
    3120 +// flag all cases of using deprecated functions.
    3121 +//
    3122 +// Default is 1 but please try building your code with 0 as the default will
    3123 +// change to 0 in the next version and the deprecated functions will disappear
    3124 +// in the version after it completely.
    3125 +//
    3126 +// Recommended setting: 0 (please update your code)
    3127 +#define WXWIN_COMPATIBILITY_2_6 1
    3128 +
    3129 +// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
    3130 +// default system font is used for wxWindow::GetCharWidth/Height() instead of
    3131 +// the current font.
    3132 +//
    3133 +// Default is 0
    3134 +//
    3135 +// Recommended setting: 0
    3136 +#define wxDIALOG_UNIT_COMPATIBILITY   0
    3137 +
    3138 +// ----------------------------------------------------------------------------
    3139 +// debugging settings
    3140 +// ----------------------------------------------------------------------------
    3141 +
    3142 +// Generic comment about debugging settings: they are very useful if you don't
    3143 +// use any other memory leak detection tools such as Purify/BoundsChecker, but
    3144 +// are probably redundant otherwise. Also, Visual C++ CRT has the same features
    3145 +// as wxWidgets memory debugging subsystem built in since version 5.0 and you
    3146 +// may prefer to use it instead of built in memory debugging code because it is
    3147 +// faster and more fool proof.
    3148 +//
    3149 +// Using VC++ CRT memory debugging is enabled by default in debug mode
    3150 +// (__WXDEBUG__) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0)
    3151 +// and if __NO_VC_CRTDBG__ is not defined.
    3152 +
    3153 +// If 1, enables wxDebugContext, for writing error messages to file, etc. If
    3154 +// __WXDEBUG__ is not defined, will still use the normal memory operators.
    3155 +//
    3156 +// Default is 0
    3157 +//
    3158 +// Recommended setting: 0
    3159 +#define wxUSE_DEBUG_CONTEXT 0
    3160 +
    3161 +// If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
    3162 +// __WXDEBUG__ is also defined.
    3163 +//
    3164 +// WARNING: this code may not work with all architectures, especially if
    3165 +// alignment is an issue. This switch is currently ignored for mingw / cygwin
    3166 +//
    3167 +// Default is 0
    3168 +//
    3169 +// Recommended setting: 1 if you are not using a memory debugging tool, else 0
    3170 +#define wxUSE_MEMORY_TRACING 0
    3171 +
    3172 +// In debug mode, cause new and delete to be redefined globally.
    3173 +// If this causes problems (e.g. link errors which is a common problem
    3174 +// especially if you use another library which also redefines the global new
    3175 +// and delete), set this to 0.
    3176 +// This switch is currently ignored for mingw / cygwin
    3177 +//
    3178 +// Default is 0
    3179 +//
    3180 +// Recommended setting: 0
    3181 +#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
    3182 +
    3183 +// In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If
    3184 +// this causes problems (e.g. link errors), set this to 0. You may need to set
    3185 +// this to 0 if using templates (at least for VC++). This switch is currently
    3186 +// ignored for mingw / cygwin / CodeWarrior
    3187 +//
    3188 +// Default is 0
    3189 +//
    3190 +// Recommended setting: 0
    3191 +#define wxUSE_DEBUG_NEW_ALWAYS 0
    3192 +
    3193 +// wxHandleFatalExceptions() may be used to catch the program faults at run
    3194 +// time and, instead of terminating the program with a usual GPF message box,
    3195 +// call the user-defined wxApp::OnFatalException() function. If you set
    3196 +// wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work.
    3197 +//
    3198 +// This setting is for Win32 only and can only be enabled if your compiler
    3199 +// supports Win32 structured exception handling (currently only VC++ does)
    3200 +//
    3201 +// Default is 1
    3202 +//
    3203 +// Recommended setting: 1 if your compiler supports it.
    3204 +#define wxUSE_ON_FATAL_EXCEPTION 1
    3205 +
    3206 +// Set this to 1 to be able to generate a human-readable (unlike
    3207 +// machine-readable minidump created by wxCrashReport::Generate()) stack back
    3208 +// trace when your program crashes using wxStackWalker
    3209 +//
    3210 +// Default is 1 if supported by the compiler.
    3211 +//
    3212 +// Recommended setting: 1, set to 0 if your programs never crash
    3213 +#define wxUSE_STACKWALKER 1
    3214 +
    3215 +// Set this to 1 to compile in wxDebugReport class which allows you to create
    3216 +// and optionally upload to your web site a debug report consisting of back
    3217 +// trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
    3218 +//
    3219 +// Default is 1 if supported by the compiler.
    3220 +//
    3221 +// Recommended setting: 1, it is compiled into a separate library so there
    3222 +//                         is no overhead if you don't use it
    3223 +#define wxUSE_DEBUGREPORT 0
    3224 +
    3225 +// ----------------------------------------------------------------------------
    3226 +// Unicode support
    3227 +// ----------------------------------------------------------------------------
    3228 +
    3229 +// Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be
    3230 +// defined as wchar_t, wxString will use Unicode internally. If you set this
    3231 +// to 1, you must use wxT() macro for all literal strings in the program.
    3232 +//
    3233 +// Unicode is currently only fully supported under Windows NT/2000/XP
    3234 +// (Windows 9x doesn't support it and the programs compiled in Unicode mode
    3235 +// will not run under 9x -- but see wxUSE_UNICODE_MSLU below).
    3236 +//
    3237 +// Default is 0
    3238 +//
    3239 +// Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP)
    3240 +#ifndef wxUSE_UNICODE
    3241 +    #define wxUSE_UNICODE 1
    3242 +#endif
    3243 +
    3244 +// Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
    3245 +// compiling the program in Unicode mode. More precisely, it will be possible
    3246 +// to construct wxString from a wide (Unicode) string and convert any wxString
    3247 +// to Unicode.
    3248 +//
    3249 +// Default is 1
    3250 +//
    3251 +// Recommended setting: 1
    3252 +#define wxUSE_WCHAR_T 1
    3253 +
    3254 +// ----------------------------------------------------------------------------
    3255 +// global features
    3256 +// ----------------------------------------------------------------------------
    3257 +
    3258 +// Compile library in exception-safe mode? If set to 1, the library will try to
    3259 +// behave correctly in presence of exceptions (even though it still will not
    3260 +// use the exceptions itself) and notify the user code about any unhandled
    3261 +// exceptions. If set to 0, propagation of the exceptions through the library
    3262 +// code will lead to undefined behaviour -- but the code itself will be
    3263 +// slightly smaller and faster.
    3264 +//
    3265 +// Note that like wxUSE_THREADS this option is automatically set to 0 if
    3266 +// wxNO_EXCEPTIONS is defined.
    3267 +//
    3268 +// Default is 1
    3269 +//
    3270 +// Recommended setting: depends on whether you intend to use C++ exceptions
    3271 +//                      in your own code (1 if you do, 0 if you don't)
    3272 +#define wxUSE_EXCEPTIONS    0
    3273 +
    3274 +// Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
    3275 +//
    3276 +// Default is 0
    3277 +//
    3278 +// Recommended setting: 0 (this is still work in progress...)
    3279 +#define wxUSE_EXTENDED_RTTI 0
    3280 +
    3281 +// Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from
    3282 +// std::list<Foo*> and std::vector<Foo*>, with a compatibility interface,
    3283 +// and for wxHashMap to be implemented with templates.
    3284 +//
    3285 +// Default is 0
    3286 +//
    3287 +// Recommended setting: YMMV
    3288 +#define wxUSE_STL 0
    3289 +
    3290 +// Support for message/error logging. This includes wxLogXXX() functions and
    3291 +// wxLog and derived classes. Don't set this to 0 unless you really know what
    3292 +// you are doing.
    3293 +//
    3294 +// Default is 1
    3295 +//
    3296 +// Recommended setting: 1 (always)
    3297 +#define wxUSE_LOG 1
    3298 +
    3299 +// Recommended setting: 1
    3300 +#define wxUSE_LOGWINDOW 1
    3301 +
    3302 +// Recommended setting: 1
    3303 +#define wxUSE_LOGGUI 1
    3304 +
    3305 +// Recommended setting: 1
    3306 +#define wxUSE_LOG_DIALOG 1
    3307 +
    3308 +// Support for command line parsing using wxCmdLineParser class.
    3309 +//
    3310 +// Default is 1
    3311 +//
    3312 +// Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
    3313 +#define wxUSE_CMDLINE_PARSER 1
    3314 +
    3315 +// Support for multithreaded applications: if 1, compile in thread classes
    3316 +// (thread.h) and make the library a bit more thread safe. Although thread
    3317 +// support is quite stable by now, you may still consider recompiling the
    3318 +// library without it if you have no use for it - this will result in a
    3319 +// somewhat smaller and faster operation.
    3320 +//
    3321 +// Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
    3322 +// to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
    3323 +// build/msw/config.* file this value will have no effect.
    3324 +//
    3325 +// Default is 1
    3326 +//
    3327 +// Recommended setting: 0 unless you do plan to develop MT applications
    3328 +#define wxUSE_THREADS 1
    3329 +
    3330 +// If enabled, compiles wxWidgets streams classes
    3331 +//
    3332 +// wx stream classes are used for image IO, process IO redirection, network
    3333 +// protocols implementation and much more and so disabling this results in a
    3334 +// lot of other functionality being lost.
    3335 +//
    3336 +// Default is 1
    3337 +//
    3338 +// Recommended setting: 1 as setting it to 0 disables many other things
    3339 +#define wxUSE_STREAMS       1
    3340 +
    3341 +// Use standard C++ streams if 1 instead of wx streams in some places. If
    3342 +// disabled (default), wx streams are used everywhere and wxWidgets doesn't
    3343 +// depend on the standard streams library.
    3344 +//
    3345 +// Notice that enabling this does not replace wx streams with std streams
    3346 +// everywhere, in a lot of places wx streams are used no matter what.
    3347 +//
    3348 +// Default is 0
    3349 +//
    3350 +// Recommended setting: 1 if you use the standard streams anyhow and so
    3351 +//                      dependency on the standard streams library is not a
    3352 +//                      problem
    3353 +#define wxUSE_STD_IOSTREAM  0
    3354 +
    3355 +// Enable conversion to standard C++ string if 1.
    3356 +//
    3357 +// Default is 1 for most compilers.
    3358 +//
    3359 +// Currently the Digital Mars and Watcom compilers come without standard C++
    3360 +// library headers by default, wxUSE_STD_STRING can be set to 1 if you do have
    3361 +// them (e.g. from STLPort).
    3362 +//
    3363 +// VC++ 5.0 does include standard C++ library header, however they produce
    3364 +// many warnings that can't be turned off when compiled at warning level 4.
    3365 +#if defined(__DMC__) || defined(__WATCOMC__) \
    3366 +        || (defined(_MSC_VER) && _MSC_VER < 1200)
    3367 +    #define wxUSE_STD_STRING  0
    3368 +#else
    3369 +    #define wxUSE_STD_STRING  1
    3370 +#endif
    3371 +
    3372 +// Support for positional parameters (e.g. %1$d, %2$s ...) in wxVsnprintf.
    3373 +// Note that if the system's implementation does not support positional
    3374 +// parameters, setting this to 1 forces the use of the wxWidgets implementation
    3375 +// of wxVsnprintf. The standard vsnprintf() supports positional parameters on
    3376 +// many Unix systems but usually doesn't under Windows.
    3377 +//
    3378 +// Positional parameters are very useful when translating a program since using
    3379 +// them in formatting strings allow translators to correctly reorder the
    3380 +// translated sentences.
    3381 +//
    3382 +// Default is 1
    3383 +//
    3384 +// Recommended setting: 1 if you want to support multiple languages
    3385 +#define wxUSE_PRINTF_POS_PARAMS      1
    3386 +
    3387 +// ----------------------------------------------------------------------------
    3388 +// non GUI features selection
    3389 +// ----------------------------------------------------------------------------
    3390 +
    3391 +// Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit
    3392 +// integer which is implemented in terms of native 64 bit integers if any or
    3393 +// uses emulation otherwise.
    3394 +//
    3395 +// This class is required by wxDateTime and so you should enable it if you want
    3396 +// to use wxDateTime. For most modern platforms, it will use the native 64 bit
    3397 +// integers in which case (almost) all of its functions are inline and it
    3398 +// almost does not take any space, so there should be no reason to switch it
    3399 +// off.
    3400 +//
    3401 +// Recommended setting: 1
    3402 +#define wxUSE_LONGLONG      1
    3403 +
    3404 +// Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level
    3405 +// POSIX functions for file access, wxFFile uses ANSI C stdio.h functions.
    3406 +//
    3407 +// Default is 1
    3408 +//
    3409 +// Recommended setting: 1 (wxFile is highly recommended as it is required by
    3410 +// i18n code, wxFileConfig and others)
    3411 +#define wxUSE_FILE          1
    3412 +#define wxUSE_FFILE         1
    3413 +
    3414 +// Use wxFSVolume class providing access to the configured/active mount points
    3415 +//
    3416 +// Default is 1
    3417 +//
    3418 +// Recommended setting: 1 (but may be safely disabled if you don't use it)
    3419 +#define wxUSE_FSVOLUME      1
    3420 +
    3421 +// Use wxStandardPaths class which allows to retrieve some standard locations
    3422 +// in the file system
    3423 +//
    3424 +// Default is 1
    3425 +//
    3426 +// Recommended setting: 1 (may be disabled to save space, but not much)
    3427 +#define wxUSE_STDPATHS      1
    3428 +
    3429 +// use wxTextBuffer class: required by wxTextFile
    3430 +#define wxUSE_TEXTBUFFER    1
    3431 +
    3432 +// use wxTextFile class: requires wxFile and wxTextBuffer, required by
    3433 +// wxFileConfig
    3434 +#define wxUSE_TEXTFILE      1
    3435 +
    3436 +// i18n support: _() macro, wxLocale class. Requires wxTextFile.
    3437 +#define wxUSE_INTL          1
    3438 +
    3439 +// Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which
    3440 +// allow to manipulate dates, times and time intervals. wxDateTime replaces the
    3441 +// old wxTime and wxDate classes which are still provided for backwards
    3442 +// compatibility (and implemented in terms of wxDateTime).
    3443 +//
    3444 +// Note that this class is relatively new and is still officially in alpha
    3445 +// stage because some features are not yet (fully) implemented. It is already
    3446 +// quite useful though and should only be disabled if you are aiming at
    3447 +// absolutely minimal version of the library.
    3448 +//
    3449 +// Requires: wxUSE_LONGLONG
    3450 +//
    3451 +// Default is 1
    3452 +//
    3453 +// Recommended setting: 1
    3454 +#define wxUSE_DATETIME      1
    3455 +
    3456 +// Set wxUSE_TIMER to 1 to compile wxTimer class
    3457 +//
    3458 +// Default is 1
    3459 +//
    3460 +// Recommended setting: 1
    3461 +#define wxUSE_TIMER         1
    3462 +
    3463 +// Use wxStopWatch clas.
    3464 +//
    3465 +// Default is 1
    3466 +//
    3467 +// Recommended setting: 1 (needed by wxSocket)
    3468 +#define wxUSE_STOPWATCH     1
    3469 +
    3470 +// Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
    3471 +// which allow the application to store its settings in the persistent
    3472 +// storage. Setting this to 1 will also enable on-demand creation of the
    3473 +// global config object in wxApp.
    3474 +//
    3475 +// See also wxUSE_CONFIG_NATIVE below.
    3476 +//
    3477 +// Recommended setting: 1
    3478 +#define wxUSE_CONFIG        1
    3479 +
    3480 +// If wxUSE_CONFIG is 1, you may choose to use either the native config
    3481 +// classes under Windows (using .INI files under Win16 and the registry under
    3482 +// Win32) or the portable text file format used by the config classes under
    3483 +// Unix.
    3484 +//
    3485 +// Default is 1 to use native classes. Note that you may still use
    3486 +// wxFileConfig even if you set this to 1 - just the config object created by
    3487 +// default for the applications needs will be a wxRegConfig or wxIniConfig and
    3488 +// not wxFileConfig.
    3489 +//
    3490 +// Recommended setting: 1
    3491 +#define wxUSE_CONFIG_NATIVE   1
    3492 +
    3493 +// If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows
    3494 +// to connect/disconnect from the network and be notified whenever the dial-up
    3495 +// network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER.
    3496 +//
    3497 +// Default is 1.
    3498 +//
    3499 +// Recommended setting: 1
    3500 +#define wxUSE_DIALUP_MANAGER   0
    3501 +
    3502 +// Compile in classes for run-time DLL loading and function calling.
    3503 +// Required by wxUSE_DIALUP_MANAGER.
    3504 +//
    3505 +// This setting is for Win32 only
    3506 +//
    3507 +// Default is 1.
    3508 +//
    3509 +// Recommended setting: 1
    3510 +#define wxUSE_DYNLIB_CLASS    1
    3511 +
    3512 +// experimental, don't use for now
    3513 +#define wxUSE_DYNAMIC_LOADER  1
    3514 +
    3515 +// Set to 1 to use socket classes
    3516 +#define wxUSE_SOCKETS       1
    3517 +
    3518 +// Set to 1 to enable virtual file systems (required by wxHTML)
    3519 +#define wxUSE_FILESYSTEM    1
    3520 +
    3521 +// Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
    3522 +#define wxUSE_FS_ZIP        1
    3523 +
    3524 +// Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
    3525 +#define wxUSE_FS_ARCHIVE    1
    3526 +
    3527 +// Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
    3528 +#define wxUSE_FS_INET       1
    3529 +
    3530 +// wxArchive classes for accessing archives such as zip and tar
    3531 +#define wxUSE_ARCHIVE_STREAMS     1
    3532 +
    3533 +// Set to 1 to compile wxZipInput/OutputStream classes.
    3534 +#define wxUSE_ZIPSTREAM     1
    3535 +
    3536 +// Set to 1 to compile wxTarInput/OutputStream classes.
    3537 +#define wxUSE_TARSTREAM     1
    3538 +
    3539 +// Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
    3540 +// wxUSE_LIBPNG
    3541 +#define wxUSE_ZLIB          1
    3542 +
    3543 +// If enabled, the code written by Apple will be used to write, in a portable
    3544 +// way, float on the disk. See extended.c for the license which is different
    3545 +// from wxWidgets one.
    3546 +//
    3547 +// Default is 1.
    3548 +//
    3549 +// Recommended setting: 1 unless you don't like the license terms (unlikely)
    3550 +#define wxUSE_APPLE_IEEE          1
    3551 +
    3552 +// Joystick support class
    3553 +#define wxUSE_JOYSTICK            1
    3554 +
    3555 +// wxFontMapper class
    3556 +#define wxUSE_FONTMAP 1
    3557 +
    3558 +// wxMimeTypesManager class
    3559 +#define wxUSE_MIMETYPE 1
    3560 +
    3561 +// wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
    3562 +// or wxURL you need to set this to 1.
    3563 +//
    3564 +// Default is 1.
    3565 +//
    3566 +// Recommended setting: 1
    3567 +#define wxUSE_PROTOCOL 1
    3568 +
    3569 +// The settings for the individual URL schemes
    3570 +#define wxUSE_PROTOCOL_FILE 1
    3571 +#define wxUSE_PROTOCOL_FTP 1
    3572 +#define wxUSE_PROTOCOL_HTTP 1
    3573 +
    3574 +// Define this to use wxURL class.
    3575 +#define wxUSE_URL 1
    3576 +
    3577 +// Define this to use native platform url and protocol support.
    3578 +// Currently valid only for MS-Windows.
    3579 +// Note: if you set this to 1, you can open ftp/http/gopher sites
    3580 +// and obtain a valid input stream for these sites
    3581 +// even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.
    3582 +// Doing so reduces the code size.
    3583 +//
    3584 +// This code is experimental and subject to change.
    3585 +#define wxUSE_URL_NATIVE 0
    3586 +
    3587 +// Support for wxVariant class used in several places throughout the library,
    3588 +// notably in wxDataViewCtrl API.
    3589 +//
    3590 +// Default is 1.
    3591 +//
    3592 +// Recommended setting: 1 unless you want to reduce the library size as much as
    3593 +// possible in which case setting this to 0 can gain up to 100KB.
    3594 +#define wxUSE_VARIANT 1
    3595 +
    3596 +// Support for regular expression matching via wxRegEx class: enable this to
    3597 +// use POSIX regular expressions in your code. You need to compile regex
    3598 +// library from src/regex to use it under Windows.
    3599 +//
    3600 +// Default is 0
    3601 +//
    3602 +// Recommended setting: 1 if your compiler supports it, if it doesn't please
    3603 +// contribute us a makefile for src/regex for it
    3604 +#define wxUSE_REGEX       1
    3605 +
    3606 +// wxSystemOptions class
    3607 +#define wxUSE_SYSTEM_OPTIONS 1
    3608 +
    3609 +// wxSound class
    3610 +#define wxUSE_SOUND      1
    3611 +
    3612 +// Use wxMediaCtrl
    3613 +//
    3614 +// Default is 1.
    3615 +//
    3616 +// Recommended setting: 1
    3617 +#define wxUSE_MEDIACTRL     1
    3618 +
    3619 +// Use GStreamer for Unix (req a lot of dependancies)
    3620 +//
    3621 +// Default is 0
    3622 +//
    3623 +// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
    3624 +#define wxUSE_GSTREAMER    0
    3625 +
    3626 +// Use wxWidget's XRC XML-based resource system.  Recommended.
    3627 +//
    3628 +// Default is 1
    3629 +//
    3630 +// Recommended setting: 1 (requires wxUSE_XML)
    3631 +#define wxUSE_XRC       1
    3632 +
    3633 +// XML parsing classes. Note that their API will change in the future, so
    3634 +// using wxXmlDocument and wxXmlNode in your app is not recommended.
    3635 +//
    3636 +// Default is the same as wxUSE_XRC, i.e. 1 by default.
    3637 +//
    3638 +// Recommended setting: 1 (required by XRC)
    3639 +#define wxUSE_XML       wxUSE_XRC
    3640 +
    3641 +// Use wxWidget's AUI docking system
    3642 +//
    3643 +// Default is 1
    3644 +//
    3645 +// Recommended setting: 1
    3646 +#define wxUSE_AUI       1
    3647 +
    3648 +
    3649 +// Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
    3650 +// 2D drawing API.  (Still somewhat experimental)
    3651 +//
    3652 +// Please note that on Windows you will need to link with gdiplus.lib (use
    3653 +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your
    3654 +// application if you want it to be runnable on pre-XP systems.
    3655 +//
    3656 +// Default is 0
    3657 +//
    3658 +// Recommended setting: 1
    3659 +#ifndef wxUSE_GRAPHICS_CONTEXT
    3660 +#define wxUSE_GRAPHICS_CONTEXT 1
    3661 +#endif
    3662 +
    3663 +// ----------------------------------------------------------------------------
    3664 +// Individual GUI controls
    3665 +// ----------------------------------------------------------------------------
    3666 +
    3667 +// You must set wxUSE_CONTROLS to 1 if you are using any controls at all
    3668 +// (without it, wxControl class is not compiled)
    3669 +//
    3670 +// Default is 1
    3671 +//
    3672 +// Recommended setting: 1 (don't change except for very special programs)
    3673 +#define wxUSE_CONTROLS     1
    3674 +
    3675 +// wxPopupWindow class is a top level transient window. It is currently used
    3676 +// to implement wxTipWindow
    3677 +//
    3678 +// Default is 1
    3679 +//
    3680 +// Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
    3681 +#define wxUSE_POPUPWIN     1
    3682 +
    3683 +// wxTipWindow allows to implement the custom tooltips, it is used by the
    3684 +// context help classes. Requires wxUSE_POPUPWIN.
    3685 +//
    3686 +// Default is 1
    3687 +//
    3688 +// Recommended setting: 1 (may be set to 0)
    3689 +#define wxUSE_TIPWINDOW    1
    3690 +
    3691 +// Each of the settings below corresponds to one wxWidgets control. They are
    3692 +// all switched on by default but may be disabled if you are sure that your
    3693 +// program (including any standard dialogs it can show!) doesn't need them and
    3694 +// if you desperately want to save some space. If you use any of these you must
    3695 +// set wxUSE_CONTROLS as well.
    3696 +//
    3697 +// Default is 1
    3698 +//
    3699 +// Recommended setting: 1
    3700 +#define wxUSE_ANIMATIONCTRL 1   // wxAnimationCtrl
    3701 +#define wxUSE_BUTTON        1   // wxButton
    3702 +#define wxUSE_BMPBUTTON     1   // wxBitmapButton
    3703 +#define wxUSE_CALENDARCTRL  1   // wxCalendarCtrl
    3704 +#define wxUSE_CHECKBOX      1   // wxCheckBox
    3705 +#define wxUSE_CHECKLISTBOX  1   // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
    3706 +#define wxUSE_CHOICE        1   // wxChoice
    3707 +#define wxUSE_COLLPANE      1   // wxCollapsiblePane
    3708 +#define wxUSE_COLOURPICKERCTRL 1    // wxColourPickerCtrl
    3709 +#define wxUSE_COMBOBOX      1   // wxComboBox
    3710 +#define wxUSE_DATAVIEWCTRL  1   // wxDataViewCtrl
    3711 +#define wxUSE_DATEPICKCTRL  1   // wxDatePickerCtrl
    3712 +#define wxUSE_DIRPICKERCTRL 1   // wxDirPickerCtrl
    3713 +#define wxUSE_FILEPICKERCTRL 1  // wxFilePickerCtrl
    3714 +#define wxUSE_FONTPICKERCTRL 1  // wxFontPickerCtrl
    3715 +#define wxUSE_GAUGE         1   // wxGauge
    3716 +#define wxUSE_HYPERLINKCTRL 1   // wxHyperlinkCtrl
    3717 +#define wxUSE_LISTBOX       1   // wxListBox
    3718 +#define wxUSE_LISTCTRL      1   // wxListCtrl
    3719 +#define wxUSE_RADIOBOX      1   // wxRadioBox
    3720 +#define wxUSE_RADIOBTN      1   // wxRadioButton
    3721 +#define wxUSE_SCROLLBAR     1   // wxScrollBar
    3722 +#define wxUSE_SEARCHCTRL    1   // wxSearchCtrl
    3723 +#define wxUSE_SLIDER        1   // wxSlider
    3724 +#define wxUSE_SPINBTN       1   // wxSpinButton
    3725 +#define wxUSE_SPINCTRL      1   // wxSpinCtrl
    3726 +#define wxUSE_STATBOX       1   // wxStaticBox
    3727 +#define wxUSE_STATLINE      1   // wxStaticLine
    3728 +#define wxUSE_STATTEXT      1   // wxStaticText
    3729 +#define wxUSE_STATBMP       1   // wxStaticBitmap
    3730 +#define wxUSE_TEXTCTRL      1   // wxTextCtrl
    3731 +#define wxUSE_TOGGLEBTN     1   // requires wxButton
    3732 +#define wxUSE_TREECTRL      1   // wxTreeCtrl
    3733 +
    3734 +// Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR
    3735 +// below either wxStatusBar95 or a generic wxStatusBar will be used.
    3736 +//
    3737 +// Default is 1
    3738 +//
    3739 +// Recommended setting: 1
    3740 +#define wxUSE_STATUSBAR    1
    3741 +
    3742 +// Two status bar implementations are available under Win32: the generic one
    3743 +// or the wrapper around native control. For native look and feel the native
    3744 +// version should be used.
    3745 +//
    3746 +// Default is 1 for the platforms where native status bar is supported.
    3747 +//
    3748 +// Recommended setting: 1 (there is no advantage in using the generic one)
    3749 +#define wxUSE_NATIVE_STATUSBAR        1
    3750 +
    3751 +// wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
    3752 +// classes at all. Otherwise, use the native toolbar class unless
    3753 +// wxUSE_TOOLBAR_NATIVE is 0.
    3754 +//
    3755 +// Default is 1 for all settings.
    3756 +//
    3757 +// Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
    3758 +#define wxUSE_TOOLBAR 1
    3759 +#define wxUSE_TOOLBAR_NATIVE 1
    3760 +
    3761 +// wxNotebook is a control with several "tabs" located on one of its sides. It
    3762 +// may be used to logically organise the data presented to the user instead of
    3763 +// putting everything in one huge dialog. It replaces wxTabControl and related
    3764 +// classes of wxWin 1.6x.
    3765 +//
    3766 +// Default is 1.
    3767 +//
    3768 +// Recommended setting: 1
    3769 +#define wxUSE_NOTEBOOK 1
    3770 +
    3771 +// wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
    3772 +// the tabs
    3773 +//
    3774 +// Default is 1.
    3775 +//
    3776 +// Recommended setting: 1
    3777 +#define wxUSE_LISTBOOK 1
    3778 +
    3779 +// wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
    3780 +// the tabs
    3781 +//
    3782 +// Default is 1.
    3783 +//
    3784 +// Recommended setting: 1
    3785 +#define wxUSE_CHOICEBOOK 1
    3786 +
    3787 +// wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
    3788 +// the tabs
    3789 +//
    3790 +// Default is 1.
    3791 +//
    3792 +// Recommended setting: 1
    3793 +#define wxUSE_TREEBOOK 1
    3794 +
    3795 +// wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
    3796 +// tabs
    3797 +//
    3798 +// Default is 1.
    3799 +//
    3800 +// Recommended setting: 1
    3801 +#define wxUSE_TOOLBOOK 1
    3802 +
    3803 +// wxTabDialog is a generic version of wxNotebook but it is incompatible with
    3804 +// the new class. It shouldn't be used in new code.
    3805 +//
    3806 +// Default is 0.
    3807 +//
    3808 +// Recommended setting: 0 (use wxNotebook)
    3809 +#define wxUSE_TAB_DIALOG    0
    3810 +
    3811 +// wxGrid class
    3812 +//
    3813 +// Default is 1, set to 0 to cut down compilation time and binaries size if you
    3814 +// don't use it.
    3815 +//
    3816 +// Recommended setting: 1
    3817 +//
    3818 +#define wxUSE_GRID         1
    3819 +
    3820 +// wxMiniFrame class: a frame with narrow title bar
    3821 +//
    3822 +// Default is 1.
    3823 +//
    3824 +// Recommended setting: 1 (it doesn't cost almost anything)
    3825 +#define wxUSE_MINIFRAME 1
    3826 +
    3827 +// wxComboCtrl and related classes: combobox with custom popup window and
    3828 +// not necessarily a listbox.
    3829 +//
    3830 +// Default is 1.
    3831 +//
    3832 +// Recommended setting: 1 but can be safely set to 0 except for wxUniv where it
    3833 +//                      it used by wxComboBox
    3834 +#define wxUSE_COMBOCTRL 1
    3835 +
    3836 +// wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
    3837 +// items.
    3838 +//
    3839 +// Default is 1.
    3840 +//
    3841 +// Recommended setting: 1 but can be safely set to 0, except where it is
    3842 +//                      needed as a base class for generic wxBitmapComboBox.
    3843 +#define wxUSE_ODCOMBOBOX 1
    3844 +
    3845 +// wxBitmapComboBox is a combobox that can have images in front of text items.
    3846 +//
    3847 +// Default is 1.
    3848 +//
    3849 +// Recommended setting: 1 but can be safely set to 0
    3850 +#define wxUSE_BITMAPCOMBOBOX 1
    3851 +
    3852 +// ----------------------------------------------------------------------------
    3853 +// Miscellaneous GUI stuff
    3854 +// ----------------------------------------------------------------------------
    3855 +
    3856 +// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
    3857 +#define wxUSE_ACCEL 1
    3858 +
    3859 +// Hotkey support (currently Windows only)
    3860 +#define wxUSE_HOTKEY 1
    3861 +
    3862 +// Use wxCaret: a class implementing a "cursor" in a text control (called caret
    3863 +// under Windows).
    3864 +//
    3865 +// Default is 1.
    3866 +//
    3867 +// Recommended setting: 1 (can be safely set to 0, not used by the library)
    3868 +#define wxUSE_CARET         1
    3869 +
    3870 +// Use wxDisplay class: it allows enumerating all displays on a system and
    3871 +// their geometries as well as finding the display on which the given point or
    3872 +// window lies.
    3873 +//
    3874 +// Default is 1.
    3875 +//
    3876 +// Recommended setting: 1 if you need it, can be safely set to 0 otherwise
    3877 +#define wxUSE_DISPLAY       1
    3878 +
    3879 +// Miscellaneous geometry code: needed for Canvas library
    3880 +#define wxUSE_GEOMETRY            1
    3881 +
    3882 +// Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
    3883 +// wxListCtrl.
    3884 +//
    3885 +// Default is 1.
    3886 +//
    3887 +// Recommended setting: 1 (set it to 0 if you don't use any of the controls
    3888 +// enumerated above, then this class is mostly useless too)
    3889 +#define wxUSE_IMAGLIST      1
    3890 +
    3891 +// Use wxMenu, wxMenuBar, wxMenuItem.
    3892 +//
    3893 +// Default is 1.
    3894 +//
    3895 +// Recommended setting: 1 (can't be disabled under MSW)
    3896 +#define wxUSE_MENUS         1
    3897 +
    3898 +// Use wxSashWindow class.
    3899 +//
    3900 +// Default is 1.
    3901 +//
    3902 +// Recommended setting: 1
    3903 +#define wxUSE_SASH          1
    3904 +
    3905 +// Use wxSplitterWindow class.
    3906 +//
    3907 +// Default is 1.
    3908 +//
    3909 +// Recommended setting: 1
    3910 +#define wxUSE_SPLITTER      1
    3911 +
    3912 +// Use wxToolTip and wxWindow::Set/GetToolTip() methods.
    3913 +//
    3914 +// Default is 1.
    3915 +//
    3916 +// Recommended setting: 1
    3917 +#define wxUSE_TOOLTIPS      1
    3918 +
    3919 +// wxValidator class and related methods
    3920 +#define wxUSE_VALIDATORS 1
    3921 +
    3922 +// ----------------------------------------------------------------------------
    3923 +// common dialogs
    3924 +// ----------------------------------------------------------------------------
    3925 +
    3926 +// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g.
    3927 +// file selector, printer dialog). Switching this off also switches off the
    3928 +// printing architecture and interactive wxPrinterDC.
    3929 +//
    3930 +// Default is 1
    3931 +//
    3932 +// Recommended setting: 1 (unless it really doesn't work)
    3933 +#define wxUSE_COMMON_DIALOGS 1
    3934 +
    3935 +// wxBusyInfo displays window with message when app is busy. Works in same way
    3936 +// as wxBusyCursor
    3937 +#define wxUSE_BUSYINFO      1
    3938 +
    3939 +// Use single/multiple choice dialogs.
    3940 +//
    3941 +// Default is 1
    3942 +//
    3943 +// Recommended setting: 1 (used in the library itself)
    3944 +#define wxUSE_CHOICEDLG     1
    3945 +
    3946 +// Use colour picker dialog
    3947 +//
    3948 +// Default is 1
    3949 +//
    3950 +// Recommended setting: 1
    3951 +#define wxUSE_COLOURDLG     1
    3952 +
    3953 +// wxDirDlg class for getting a directory name from user
    3954 +#define wxUSE_DIRDLG 1
    3955 +
    3956 +// TODO: setting to choose the generic or native one
    3957 +
    3958 +// Use file open/save dialogs.
    3959 +//
    3960 +// Default is 1
    3961 +//
    3962 +// Recommended setting: 1 (used in many places in the library itself)
    3963 +#define wxUSE_FILEDLG       1
    3964 +
    3965 +// Use find/replace dialogs.
    3966 +//
    3967 +// Default is 1
    3968 +//
    3969 +// Recommended setting: 1 (but may be safely set to 0)
    3970 +#define wxUSE_FINDREPLDLG       1
    3971 +
    3972 +// Use font picker dialog
    3973 +//
    3974 +// Default is 1
    3975 +//
    3976 +// Recommended setting: 1 (used in the library itself)
    3977 +#define wxUSE_FONTDLG       1
    3978 +
    3979 +// Use wxMessageDialog and wxMessageBox.
    3980 +//
    3981 +// Default is 1
    3982 +//
    3983 +// Recommended setting: 1 (used in the library itself)
    3984 +#define wxUSE_MSGDLG        1
    3985 +
    3986 +// progress dialog class for lengthy operations
    3987 +#define wxUSE_PROGRESSDLG 1
    3988 +
    3989 +// support for startup tips (wxShowTip &c)
    3990 +#define wxUSE_STARTUP_TIPS 1
    3991 +
    3992 +// text entry dialog and wxGetTextFromUser function
    3993 +#define wxUSE_TEXTDLG 1
    3994 +
    3995 +// number entry dialog
    3996 +#define wxUSE_NUMBERDLG 1
    3997 +
    3998 +// splash screen class
    3999 +#define wxUSE_SPLASH 1
    4000 +
    4001 +// wizards
    4002 +#define wxUSE_WIZARDDLG 1
    4003 +
    4004 +// Compile in wxAboutBox() function showing the standard "About" dialog.
    4005 +//
    4006 +// Default is 1
    4007 +//
    4008 +// Recommended setting: 1 but can be set to 0 to save some space if you don't
    4009 +//                      use this function
    4010 +#define wxUSE_ABOUTDLG 1
    4011 +
    4012 +// ----------------------------------------------------------------------------
    4013 +// Metafiles support
    4014 +// ----------------------------------------------------------------------------
    4015 +
    4016 +// Windows supports the graphics format known as metafile which is, though not
    4017 +// portable, is widely used under Windows and so is supported by wxWin (under
    4018 +// Windows only, of course). Win16 (Win3.1) used the so-called "Window
    4019 +// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
    4020 +// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
    4021 +// default, WMFs will be used under Win16 and EMFs under Win32. This may be
    4022 +// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
    4023 +// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
    4024 +// in any metafile related classes at all.
    4025 +//
    4026 +// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
    4027 +//
    4028 +// Recommended setting: default or 0 for everything for portable programs.
    4029 +#define wxUSE_METAFILE              1
    4030 +#define wxUSE_ENH_METAFILE          1
    4031 +#define wxUSE_WIN_METAFILES_ALWAYS  0
    4032 +
    4033 +// ----------------------------------------------------------------------------
    4034 +// Big GUI components
    4035 +// ----------------------------------------------------------------------------
    4036 +
    4037 +// Set to 0 to disable MDI support.
    4038 +//
    4039 +// Requires wxUSE_NOTEBOOK under platforms other than MSW.
    4040 +//
    4041 +// Default is 1.
    4042 +//
    4043 +// Recommended setting: 1, can be safely set to 0.
    4044 +#define wxUSE_MDI 1
    4045 +
    4046 +// Set to 0 to disable document/view architecture
    4047 +#define wxUSE_DOC_VIEW_ARCHITECTURE 1
    4048 +
    4049 +// Set to 0 to disable MDI document/view architecture
    4050 +//
    4051 +// Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
    4052 +#define wxUSE_MDI_ARCHITECTURE    1
    4053 +
    4054 +// Set to 0 to disable print/preview architecture code
    4055 +#define wxUSE_PRINTING_ARCHITECTURE  1
    4056 +
    4057 +// wxHTML sublibrary allows to display HTML in wxWindow programs and much,
    4058 +// much more.
    4059 +//
    4060 +// Default is 1.
    4061 +//
    4062 +// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
    4063 +// smaller library.
    4064 +#define wxUSE_HTML          1
    4065 +
    4066 +// Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL
    4067 +// headers and libraries to be able to compile the library with wxUSE_GLCANVAS
    4068 +// set to 1. Note that for some compilers (notably Microsoft Visual C++) you
    4069 +// will need to manually add opengl32.lib and glu32.lib to the list of
    4070 +// libraries linked with your program if you use OpenGL.
    4071 +//
    4072 +// Default is 0.
    4073 +//
    4074 +// Recommended setting: 1 if you intend to use OpenGL, 0 otherwise
    4075 +#define wxUSE_GLCANVAS       1
    4076 +
    4077 +// wxRichTextCtrl allows editing of styled text.
    4078 +//
    4079 +// Default is 1.
    4080 +//
    4081 +// Recommended setting: 1, set to 0 if you want compile a
    4082 +// smaller library.
    4083 +#define wxUSE_RICHTEXT       1
    4084 +
    4085 +// ----------------------------------------------------------------------------
    4086 +// Data transfer
    4087 +// ----------------------------------------------------------------------------
    4088 +
    4089 +// Use wxClipboard class for clipboard copy/paste.
    4090 +//
    4091 +// Default is 1.
    4092 +//
    4093 +// Recommended setting: 1
    4094 +#define wxUSE_CLIPBOARD     1
    4095 +
    4096 +// Use wxDataObject and related classes. Needed for clipboard and OLE drag and
    4097 +// drop
    4098 +//
    4099 +// Default is 1.
    4100 +//
    4101 +// Recommended setting: 1
    4102 +#define wxUSE_DATAOBJ       1
    4103 +
    4104 +// Use wxDropTarget and wxDropSource classes for drag and drop (this is
    4105 +// different from "built in" drag and drop in wxTreeCtrl which is always
    4106 +// available). Requires wxUSE_DATAOBJ.
    4107 +//
    4108 +// Default is 1.
    4109 +//
    4110 +// Recommended setting: 1
    4111 +#define wxUSE_DRAG_AND_DROP 1
    4112 +
    4113 +// Use wxAccessible for enhanced and customisable accessibility.
    4114 +// Depends on wxUSE_OLE.
    4115 +//
    4116 +// Default is 0.
    4117 +//
    4118 +// Recommended setting (at present): 0
    4119 +#define wxUSE_ACCESSIBILITY 0
    4120 +
    4121 +// ----------------------------------------------------------------------------
    4122 +// miscellaneous settings
    4123 +// ----------------------------------------------------------------------------
    4124 +
    4125 +// wxSingleInstanceChecker class allows to verify at startup if another program
    4126 +// instance is running.
    4127 +//
    4128 +// Default is 1
    4129 +//
    4130 +// Recommended setting: 1 (the class is tiny, disabling it won't save much
    4131 +// space)
    4132 +#define wxUSE_SNGLINST_CHECKER  1
    4133 +
    4134 +#define wxUSE_DRAGIMAGE 1
    4135 +
    4136 +#define wxUSE_IPC         1
    4137 +                                // 0 for no interprocess comms
    4138 +#define wxUSE_HELP        1
    4139 +                                // 0 for no help facility
    4140 +
    4141 +// Should we use MS HTML help for wxHelpController? If disabled, neither
    4142 +// wxCHMHelpController nor wxBestHelpController are available.
    4143 +//
    4144 +// Default is 1 under MSW, 0 is always used for the other platforms.
    4145 +//
    4146 +// Recommended setting: 1, only set to 0 if you have trouble compiling
    4147 +// wxCHMHelpController (could be a problem with really ancient compilers)
    4148 +#define wxUSE_MS_HTML_HELP 1
    4149 +
    4150 +
    4151 +// Use wxHTML-based help controller?
    4152 +#define wxUSE_WXHTML_HELP 1
    4153 +
    4154 +#define wxUSE_RESOURCES   0
    4155 +                                // 0 for no wxGetResource/wxWriteResource
    4156 +#define wxUSE_CONSTRAINTS 1
    4157 +                                // 0 for no window layout constraint system
    4158 +
    4159 +#define wxUSE_SPLINES     1
    4160 +                                // 0 for no splines
    4161 +
    4162 +#define wxUSE_MOUSEWHEEL        1
    4163 +                                // Include mouse wheel support
    4164 +
    4165 +// ----------------------------------------------------------------------------
    4166 +// postscript support settings
    4167 +// ----------------------------------------------------------------------------
    4168 +
    4169 +// Set to 1 for PostScript device context.
    4170 +#define wxUSE_POSTSCRIPT  1
    4171 +
    4172 +// Set to 1 to use font metric files in GetTextExtent
    4173 +#define wxUSE_AFM_FOR_POSTSCRIPT 1
    4174 +
    4175 +// ----------------------------------------------------------------------------
    4176 +// database classes
    4177 +// ----------------------------------------------------------------------------
    4178 +
    4179 +// Define 1 to use ODBC classes
    4180 +#define wxUSE_ODBC          0
    4181 +
    4182 +// For backward compatibility reasons, this parameter now only controls the
    4183 +// default scrolling method used by cursors.  This default behavior can be
    4184 +// overriden by setting the second param of wxDB::wxDbGetConnection() or
    4185 +// wxDb() constructor to indicate whether the connection (and any wxDbTable()s
    4186 +// that use the connection) should support forward only scrolling of cursors,
    4187 +// or both forward and backward support for backward scrolling cursors is
    4188 +// dependent on the data source as well as the ODBC driver being used.
    4189 +#define wxODBC_FWD_ONLY_CURSORS         1
    4190 +
    4191 +// Default is 0.  Set to 1 to use the deprecated classes, enum types, function,
    4192 +// member variables.  With a setting of 1, full backward compatibility with the
    4193 +// 2.0.x release is possible. It is STRONGLY recommended that this be set to 0,
    4194 +// as future development will be done only on the non-deprecated
    4195 +// functions/classes/member variables/etc.
    4196 +#define wxODBC_BACKWARD_COMPATABILITY 0
    4197 +
    4198 +// ----------------------------------------------------------------------------
    4199 +// other compiler (mis)features
    4200 +// ----------------------------------------------------------------------------
    4201 +
    4202 +// Set this to 0 if your compiler can't cope with omission of prototype
    4203 +// parameters.
    4204 +//
    4205 +// Default is 1.
    4206 +//
    4207 +// Recommended setting: 1 (should never need to set this to 0)
    4208 +#define REMOVE_UNUSED_ARG   1
    4209 +
    4210 +// VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
    4211 +// them. Set to 1 for <iostream.h>, 0 for <iostream>. Note that VC++ 7.1
    4212 +// and later doesn't support wxUSE_IOSTREAMH == 1 and so <iostream> will be
    4213 +// used anyhow.
    4214 +//
    4215 +// Default is 1.
    4216 +//
    4217 +// Recommended setting: whatever your compiler likes more
    4218 +#define wxUSE_IOSTREAMH     1
    4219 +
    4220 +// ----------------------------------------------------------------------------
    4221 +// image format support
    4222 +// ----------------------------------------------------------------------------
    4223 +
    4224 +// wxImage supports many different image formats which can be configured at
    4225 +// compile-time. BMP is always supported, others are optional and can be safely
    4226 +// disabled if you don't plan to use images in such format sometimes saving
    4227 +// substantial amount of code in the final library.
    4228 +//
    4229 +// Some formats require an extra library which is included in wxWin sources
    4230 +// which is mentioned if it is the case.
    4231 +
    4232 +// Set to 1 for wxImage support (recommended).
    4233 +#define wxUSE_IMAGE         1
    4234 +
    4235 +// Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
    4236 +#define wxUSE_LIBPNG        1
    4237 +
    4238 +// Set to 1 for JPEG format support (requires libjpeg)
    4239 +#define wxUSE_LIBJPEG       1
    4240 +
    4241 +// Set to 1 for TIFF format support (requires libtiff)
    4242 +#define wxUSE_LIBTIFF       1
    4243 +
    4244 +// Set to 1 for TGA format support (loading only)
    4245 +#define wxUSE_TGA           1
    4246 +
    4247 +// Set to 1 for GIF format support
    4248 +#define wxUSE_GIF           1
    4249 +
    4250 +// Set to 1 for PNM format support
    4251 +#define wxUSE_PNM           1
    4252 +
    4253 +// Set to 1 for PCX format support
    4254 +#define wxUSE_PCX           1
    4255 +
    4256 +// Set to 1 for IFF format support (Amiga format)
    4257 +#define wxUSE_IFF           0
    4258 +
    4259 +// Set to 1 for XPM format support
    4260 +#define wxUSE_XPM           1
    4261 +
    4262 +// Set to 1 for MS Icons and Cursors format support
    4263 +#define wxUSE_ICO_CUR       1
    4264 +
    4265 +// Set to 1 to compile in wxPalette class
    4266 +#define wxUSE_PALETTE       1
    4267 +
    4268 +// ----------------------------------------------------------------------------
    4269 +// wxUniversal-only options
    4270 +// ----------------------------------------------------------------------------
    4271 +
    4272 +// Set to 1 to enable compilation of all themes, this is the default
    4273 +#define wxUSE_ALL_THEMES    1
    4274 +
    4275 +// Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
    4276 +// is unset, if it is set these options are not used; notice that metal theme
    4277 +// uses Win32 one
    4278 +#define wxUSE_THEME_GTK     0
    4279 +#define wxUSE_THEME_METAL   0
    4280 +#define wxUSE_THEME_MONO    0
    4281 +#define wxUSE_THEME_WIN32   0
    4282 +
    4283 +
    4284 +/* --- end common options --- */
    4285 +
    4286 +// ----------------------------------------------------------------------------
    4287 +// Windows-only settings
    4288 +// ----------------------------------------------------------------------------
    4289 +
    4290 +// Set wxUSE_UNICODE_MSLU to 1 if you're compiling wxWidgets in Unicode mode
    4291 +// and want to run your programs under Windows 9x and not only NT/2000/XP.
    4292 +// This setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see
    4293 +// http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx). Note
    4294 +// that you will have to modify the makefiles to include unicows.lib import
    4295 +// library as the first library (see installation instructions in install.txt
    4296 +// to learn how to do it when building the library or samples).
    4297 +//
    4298 +// If your compiler doesn't have unicows.lib, you can get a version of it at
    4299 +// http://libunicows.sourceforge.net
    4300 +//
    4301 +// Default is 0
    4302 +//
    4303 +// Recommended setting: 0 (1 if you want to deploy Unicode apps on 9x systems)
    4304 +#ifndef wxUSE_UNICODE_MSLU
    4305 +    #define wxUSE_UNICODE_MSLU 1
    4306 +#endif
    4307 +
    4308 +// Set this to 1 if you want to use wxWidgets and MFC in the same program. This
    4309 +// will override some other settings (see below)
    4310 +//
    4311 +// Default is 0.
    4312 +//
    4313 +// Recommended setting: 0 unless you really have to use MFC
    4314 +#define wxUSE_MFC           0
    4315 +
    4316 +// Set this to 1 for generic OLE support: this is required for drag-and-drop,
    4317 +// clipboard, OLE Automation. Only set it to 0 if your compiler is very old and
    4318 +// can't compile/doesn't have the OLE headers.
    4319 +//
    4320 +// Default is 1.
    4321 +//
    4322 +// Recommended setting: 1
    4323 +#define wxUSE_OLE           1
    4324 +
    4325 +// Set this to 1 to enable wxAutomationObject class.
    4326 +//
    4327 +// Default is 1.
    4328 +//
    4329 +// Recommended setting: 1 if you need to control other applications via OLE
    4330 +// Automation, can be safely set to 0 otherwise
    4331 +#define wxUSE_OLE_AUTOMATION 1
    4332 +
    4333 +// Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
    4334 +// controls in wx.
    4335 +//
    4336 +// Default is 1.
    4337 +//
    4338 +// Recommended setting: 1, required by wxMediaCtrl
    4339 +#define wxUSE_ACTIVEX 1
    4340 +
    4341 +// wxDC cacheing implementation
    4342 +#define wxUSE_DC_CACHEING 1
    4343 +
    4344 +// Set this to 1 to enable the use of DIB's for wxBitmap to support
    4345 +// bitmaps > 16MB on Win95/98/Me.  Set to 0 to use DDB's only.
    4346 +#define wxUSE_DIB_FOR_BITMAP 1
    4347 +
    4348 +// Set this to 1 to enable wxDIB class used internally for manipulating
    4349 +// wxBitmao data.
    4350 +//
    4351 +// Default is 1, set it to 0 only if you don't use wxImage neither
    4352 +//
    4353 +// Recommended setting: 1 (without it conversion to/from wxImage won't work)
    4354 +#define wxUSE_WXDIB 1
    4355 +
    4356 +// Set to 0 to disable PostScript print/preview architecture code under Windows
    4357 +// (just use Windows printing).
    4358 +#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
    4359 +
    4360 +// Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH
    4361 +// which allows to put more than ~32Kb of text in it even under Win9x (NT
    4362 +// doesn't have such limitation).
    4363 +//
    4364 +// Default is 1 for compilers which support it
    4365 +//
    4366 +// Recommended setting: 1, only set it to 0 if your compiler doesn't have
    4367 +//                      or can't compile <richedit.h>
    4368 +#define wxUSE_RICHEDIT  1
    4369 +
    4370 +// Set this to 1 to use extra features of richedit v2 and later controls
    4371 +//
    4372 +// Default is 1 for compilers which support it
    4373 +//
    4374 +// Recommended setting: 1
    4375 +#define wxUSE_RICHEDIT2 1
    4376 +
    4377 +// Set this to 1 to enable support for the owner-drawn menu and listboxes. This
    4378 +// is required by wxUSE_CHECKLISTBOX.
    4379 +//
    4380 +// Default is 1.
    4381 +//
    4382 +// Recommended setting: 1, set to 0 for a small library size reduction
    4383 +#define wxUSE_OWNER_DRAWN 1
    4384 +
    4385 +// Set to 1 to compile MS Windows XP theme engine support
    4386 +#define wxUSE_UXTHEME           1
    4387 +
    4388 +// Set to 1 to auto-adapt to MS Windows XP themes where possible
    4389 +// (notably, wxNotebook pages)
    4390 +#define wxUSE_UXTHEME_AUTO      1
    4391 +
    4392 +// Set to 1 to use InkEdit control (Tablet PC), if available
    4393 +#define wxUSE_INKEDIT  0
    4394 +
    4395 +// ----------------------------------------------------------------------------
    4396 +// Generic versions of native controls
    4397 +// ----------------------------------------------------------------------------
    4398 +
    4399 +// Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
    4400 +// native wxDatePickerCtrl
    4401 +//
    4402 +// Default is 0.
    4403 +//
    4404 +// Recommended setting: 0, this is mainly used for testing
    4405 +#define wxUSE_DATEPICKCTRL_GENERIC 1
    4406 +
    4407 +// ----------------------------------------------------------------------------
    4408 +// Crash debugging helpers
    4409 +// ----------------------------------------------------------------------------
    4410 +
    4411 +// Set this to 1 to be able to use wxCrashReport::Generate() to create mini
    4412 +// dumps of your program when it crashes (or at any other moment)
    4413 +//
    4414 +// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
    4415 +//
    4416 +// Recommended setting: 1, set to 0 if your programs never crash
    4417 +#define wxUSE_CRASHREPORT 1
    4418 +
    4419 +// ----------------------------------------------------------------------------
    4420 +// obsolete settings
    4421 +// ----------------------------------------------------------------------------
    4422 +
    4423 +// NB: all settings in this section are obsolete and should not be used/changed
    4424 +//     at all, they will disappear
    4425 +
    4426 +// Define 1 to use bitmap messages.
    4427 +#define wxUSE_BITMAP_MESSAGE         1
    4428 +
    4429 +#endif // _WX_SETUP_H_
    4430 +
    4431 diff '--exclude-from=wxPython-src-2.8.9.1/exclude' -Nur orig/wxPython-src-2.8.9.1//lib/vc_dll/mswud/wx/setup.h wxPython-src-2.8.9.1//lib/vc_dll/mswud/wx/setup.h
    4432 --- orig/wxPython-src-2.8.9.1//lib/vc_dll/mswud/wx/setup.h      1970-01-01 01:00:00.000000000 +0100
    4433 +++ wxPython-src-2.8.9.1//lib/vc_dll/mswud/wx/setup.h   2009-01-30 18:59:12.000000000 +0100
    4434 @@ -0,0 +1,1349 @@
    4435 +/////////////////////////////////////////////////////////////////////////////
    4436 +// Name:        wx/msw/setup.h
    4437 +// Purpose:     Configuration for the library
    4438 +// Author:      Julian Smart
    4439 +// Modified by:
    4440 +// Created:     01/02/97
    4441 +// RCS-ID:      $Id: setup0.h 51451 2008-01-29 23:11:55Z VZ $
    4442 +// Copyright:   (c) Julian Smart
    4443 +// Licence:     wxWindows licence
    4444 +/////////////////////////////////////////////////////////////////////////////
    4445 +
    4446 +#ifndef _WX_SETUP_H_
    4447 +#define _WX_SETUP_H_
    4448 +
    4449 +/* --- start common options --- */
    4450 +// ----------------------------------------------------------------------------
    4451 +// global settings
    4452 +// ----------------------------------------------------------------------------
    4453 +
    4454 +// define this to 0 when building wxBase library - this can also be done from
    4455 +// makefile/project file overriding the value here
    4456 +#ifndef wxUSE_GUI
    4457 +    #define wxUSE_GUI            1
    4458 +#endif // wxUSE_GUI
    4459 +
    4460 +// ----------------------------------------------------------------------------
    4461 +// compatibility settings
    4462 +// ----------------------------------------------------------------------------
    4463 +
    4464 +// This setting determines the compatibility with 2.4 API: set it to 1 to
    4465 +// enable it but please consider updating your code instead.
    4466 +//
    4467 +// Default is 0
    4468 +//
    4469 +// Recommended setting: 0 (please update your code)
    4470 +#define WXWIN_COMPATIBILITY_2_4 0
    4471 +
    4472 +// This setting determines the compatibility with 2.6 API: set it to 0 to
    4473 +// flag all cases of using deprecated functions.
    4474 +//
    4475 +// Default is 1 but please try building your code with 0 as the default will
    4476 +// change to 0 in the next version and the deprecated functions will disappear
    4477 +// in the version after it completely.
    4478 +//
    4479 +// Recommended setting: 0 (please update your code)
    4480 +#define WXWIN_COMPATIBILITY_2_6 1
    4481 +
    4482 +// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
    4483 +// default system font is used for wxWindow::GetCharWidth/Height() instead of
    4484 +// the current font.
    4485 +//
    4486 +// Default is 0
    4487 +//
    4488 +// Recommended setting: 0
    4489 +#define wxDIALOG_UNIT_COMPATIBILITY   0
    4490 +
    4491 +// ----------------------------------------------------------------------------
    4492 +// debugging settings
    4493 +// ----------------------------------------------------------------------------
    4494 +
    4495 +// Generic comment about debugging settings: they are very useful if you don't
    4496 +// use any other memory leak detection tools such as Purify/BoundsChecker, but
    4497 +// are probably redundant otherwise. Also, Visual C++ CRT has the same features
    4498 +// as wxWidgets memory debugging subsystem built in since version 5.0 and you
    4499 +// may prefer to use it instead of built in memory debugging code because it is
    4500 +// faster and more fool proof.
    4501 +//
    4502 +// Using VC++ CRT memory debugging is enabled by default in debug mode
    4503 +// (__WXDEBUG__) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0)
    4504 +// and if __NO_VC_CRTDBG__ is not defined.
    4505 +
    4506 +// If 1, enables wxDebugContext, for writing error messages to file, etc. If
    4507 +// __WXDEBUG__ is not defined, will still use the normal memory operators.
    4508 +//
    4509 +// Default is 0
    4510 +//
    4511 +// Recommended setting: 0
    4512 +#define wxUSE_DEBUG_CONTEXT 0
    4513 +
    4514 +// If 1, enables debugging versions of wxObject::new and wxObject::delete *IF*
    4515 +// __WXDEBUG__ is also defined.
    4516 +//
    4517 +// WARNING: this code may not work with all architectures, especially if
    4518 +// alignment is an issue. This switch is currently ignored for mingw / cygwin
    4519 +//
    4520 +// Default is 0
    4521 +//
    4522 +// Recommended setting: 1 if you are not using a memory debugging tool, else 0
    4523 +#define wxUSE_MEMORY_TRACING 0
    4524 +
    4525 +// In debug mode, cause new and delete to be redefined globally.
    4526 +// If this causes problems (e.g. link errors which is a common problem
    4527 +// especially if you use another library which also redefines the global new
    4528 +// and delete), set this to 0.
    4529 +// This switch is currently ignored for mingw / cygwin
    4530 +//
    4531 +// Default is 0
    4532 +//
    4533 +// Recommended setting: 0
    4534 +#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
    4535 +
    4536 +// In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If
    4537 +// this causes problems (e.g. link errors), set this to 0. You may need to set
    4538 +// this to 0 if using templates (at least for VC++). This switch is currently
    4539 +// ignored for mingw / cygwin / CodeWarrior
    4540 +//
    4541 +// Default is 0
    4542 +//
    4543 +// Recommended setting: 0
    4544 +#define wxUSE_DEBUG_NEW_ALWAYS 0
    4545 +
    4546 +// wxHandleFatalExceptions() may be used to catch the program faults at run
    4547 +// time and, instead of terminating the program with a usual GPF message box,
    4548 +// call the user-defined wxApp::OnFatalException() function. If you set
    4549 +// wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work.
    4550 +//
    4551 +// This setting is for Win32 only and can only be enabled if your compiler
    4552 +// supports Win32 structured exception handling (currently only VC++ does)
    4553 +//
    4554 +// Default is 1
    4555 +//
    4556 +// Recommended setting: 1 if your compiler supports it.
    4557 +#define wxUSE_ON_FATAL_EXCEPTION 1
    4558 +
    4559 +// Set this to 1 to be able to generate a human-readable (unlike
    4560 +// machine-readable minidump created by wxCrashReport::Generate()) stack back
    4561 +// trace when your program crashes using wxStackWalker
    4562 +//
    4563 +// Default is 1 if supported by the compiler.
    4564 +//
    4565 +// Recommended setting: 1, set to 0 if your programs never crash
    4566 +#define wxUSE_STACKWALKER 1
    4567 +
    4568 +// Set this to 1 to compile in wxDebugReport class which allows you to create
    4569 +// and optionally upload to your web site a debug report consisting of back
    4570 +// trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
    4571 +//
    4572 +// Default is 1 if supported by the compiler.
    4573 +//
    4574 +// Recommended setting: 1, it is compiled into a separate library so there
    4575 +//                         is no overhead if you don't use it
    4576 +#define wxUSE_DEBUGREPORT 0
    4577 +
    4578 +// ----------------------------------------------------------------------------
    4579 +// Unicode support
    4580 +// ----------------------------------------------------------------------------
    4581 +
    4582 +// Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be
    4583 +// defined as wchar_t, wxString will use Unicode internally. If you set this
    4584 +// to 1, you must use wxT() macro for all literal strings in the program.
    4585 +//
    4586 +// Unicode is currently only fully supported under Windows NT/2000/XP
    4587 +// (Windows 9x doesn't support it and the programs compiled in Unicode mode
    4588 +// will not run under 9x -- but see wxUSE_UNICODE_MSLU below).
    4589 +//
    4590 +// Default is 0
    4591 +//
    4592 +// Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP)
    4593 +#ifndef wxUSE_UNICODE
    4594 +    #define wxUSE_UNICODE 1
    4595 +#endif
    4596 +
    4597 +// Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
    4598 +// compiling the program in Unicode mode. More precisely, it will be possible
    4599 +// to construct wxString from a wide (Unicode) string and convert any wxString
    4600 +// to Unicode.
    4601 +//
    4602 +// Default is 1
    4603 +//
    4604 +// Recommended setting: 1
    4605 +#define wxUSE_WCHAR_T 1
    4606 +
    4607 +// ----------------------------------------------------------------------------
    4608 +// global features
    4609 +// ----------------------------------------------------------------------------
    4610 +
    4611 +// Compile library in exception-safe mode? If set to 1, the library will try to
    4612 +// behave correctly in presence of exceptions (even though it still will not
    4613 +// use the exceptions itself) and notify the user code about any unhandled
    4614 +// exceptions. If set to 0, propagation of the exceptions through the library
    4615 +// code will lead to undefined behaviour -- but the code itself will be
    4616 +// slightly smaller and faster.
    4617 +//
    4618 +// Note that like wxUSE_THREADS this option is automatically set to 0 if
    4619 +// wxNO_EXCEPTIONS is defined.
    4620 +//
    4621 +// Default is 1
    4622 +//
    4623 +// Recommended setting: depends on whether you intend to use C++ exceptions
    4624 +//                      in your own code (1 if you do, 0 if you don't)
    4625 +#define wxUSE_EXCEPTIONS    0
    4626 +
    4627 +// Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
    4628 +//
    4629 +// Default is 0
    4630 +//
    4631 +// Recommended setting: 0 (this is still work in progress...)
    4632 +#define wxUSE_EXTENDED_RTTI 0
    4633 +
    4634 +// Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from
    4635 +// std::list<Foo*> and std::vector<Foo*>, with a compatibility interface,
    4636 +// and for wxHashMap to be implemented with templates.
    4637 +//
    4638 +// Default is 0
    4639 +//
    4640 +// Recommended setting: YMMV
    4641 +#define wxUSE_STL 0
    4642 +
    4643 +// Support for message/error logging. This includes wxLogXXX() functions and
    4644 +// wxLog and derived classes. Don't set this to 0 unless you really know what
    4645 +// you are doing.
    4646 +//
    4647 +// Default is 1
    4648 +//
    4649 +// Recommended setting: 1 (always)
    4650 +#define wxUSE_LOG 1
    4651 +
    4652 +// Recommended setting: 1
    4653 +#define wxUSE_LOGWINDOW 1
    4654 +
    4655 +// Recommended setting: 1
    4656 +#define wxUSE_LOGGUI 1
    4657 +
    4658 +// Recommended setting: 1
    4659 +#define wxUSE_LOG_DIALOG 1
    4660 +
    4661 +// Support for command line parsing using wxCmdLineParser class.
    4662 +//
    4663 +// Default is 1
    4664 +//
    4665 +// Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
    4666 +#define wxUSE_CMDLINE_PARSER 1
    4667 +
    4668 +// Support for multithreaded applications: if 1, compile in thread classes
    4669 +// (thread.h) and make the library a bit more thread safe. Although thread
    4670 +// support is quite stable by now, you may still consider recompiling the
    4671 +// library without it if you have no use for it - this will result in a
    4672 +// somewhat smaller and faster operation.
    4673 +//
    4674 +// Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
    4675 +// to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
    4676 +// build/msw/config.* file this value will have no effect.
    4677 +//
    4678 +// Default is 1
    4679 +//
    4680 +// Recommended setting: 0 unless you do plan to develop MT applications
    4681 +#define wxUSE_THREADS 1
    4682 +
    4683 +// If enabled, compiles wxWidgets streams classes
    4684 +//
    4685 +// wx stream classes are used for image IO, process IO redirection, network
    4686 +// protocols implementation and much more and so disabling this results in a
    4687 +// lot of other functionality being lost.
    4688 +//
    4689 +// Default is 1
    4690 +//
    4691 +// Recommended setting: 1 as setting it to 0 disables many other things
    4692 +#define wxUSE_STREAMS       1
    4693 +
    4694 +// Use standard C++ streams if 1 instead of wx streams in some places. If
    4695 +// disabled (default), wx streams are used everywhere and wxWidgets doesn't
    4696 +// depend on the standard streams library.
    4697 +//
    4698 +// Notice that enabling this does not replace wx streams with std streams
    4699 +// everywhere, in a lot of places wx streams are used no matter what.
    4700 +//
    4701 +// Default is 0
    4702 +//
    4703 +// Recommended setting: 1 if you use the standard streams anyhow and so
    4704 +//                      dependency on the standard streams library is not a
    4705 +//                      problem
    4706 +#define wxUSE_STD_IOSTREAM  0
    4707 +
    4708 +// Enable conversion to standard C++ string if 1.
    4709 +//
    4710 +// Default is 1 for most compilers.
    4711 +//
    4712 +// Currently the Digital Mars and Watcom compilers come without standard C++
    4713 +// library headers by default, wxUSE_STD_STRING can be set to 1 if you do have
    4714 +// them (e.g. from STLPort).
    4715 +//
    4716 +// VC++ 5.0 does include standard C++ library header, however they produce
    4717 +// many warnings that can't be turned off when compiled at warning level 4.
    4718 +#if defined(__DMC__) || defined(__WATCOMC__) \
    4719 +        || (defined(_MSC_VER) && _MSC_VER < 1200)
    4720 +    #define wxUSE_STD_STRING  0
    4721 +#else
    4722 +    #define wxUSE_STD_STRING  1
    4723 +#endif
    4724 +
    4725 +// Support for positional parameters (e.g. %1$d, %2$s ...) in wxVsnprintf.
    4726 +// Note that if the system's implementation does not support positional
    4727 +// parameters, setting this to 1 forces the use of the wxWidgets implementation
    4728 +// of wxVsnprintf. The standard vsnprintf() supports positional parameters on
    4729 +// many Unix systems but usually doesn't under Windows.
    4730 +//
    4731 +// Positional parameters are very useful when translating a program since using
    4732 +// them in formatting strings allow translators to correctly reorder the
    4733 +// translated sentences.
    4734 +//
    4735 +// Default is 1
    4736 +//
    4737 +// Recommended setting: 1 if you want to support multiple languages
    4738 +#define wxUSE_PRINTF_POS_PARAMS      1
    4739 +
    4740 +// ----------------------------------------------------------------------------
    4741 +// non GUI features selection
    4742 +// ----------------------------------------------------------------------------
    4743 +
    4744 +// Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit
    4745 +// integer which is implemented in terms of native 64 bit integers if any or
    4746 +// uses emulation otherwise.
    4747 +//
    4748 +// This class is required by wxDateTime and so you should enable it if you want
    4749 +// to use wxDateTime. For most modern platforms, it will use the native 64 bit
    4750 +// integers in which case (almost) all of its functions are inline and it
    4751 +// almost does not take any space, so there should be no reason to switch it
    4752 +// off.
    4753 +//
    4754 +// Recommended setting: 1
    4755 +#define wxUSE_LONGLONG      1
    4756 +
    4757 +// Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level
    4758 +// POSIX functions for file access, wxFFile uses ANSI C stdio.h functions.
    4759 +//
    4760 +// Default is 1
    4761 +//
    4762 +// Recommended setting: 1 (wxFile is highly recommended as it is required by
    4763 +// i18n code, wxFileConfig and others)
    4764 +#define wxUSE_FILE          1
    4765 +#define wxUSE_FFILE         1
    4766 +
    4767 +// Use wxFSVolume class providing access to the configured/active mount points
    4768 +//
    4769 +// Default is 1
    4770 +//
    4771 +// Recommended setting: 1 (but may be safely disabled if you don't use it)
    4772 +#define wxUSE_FSVOLUME      1
    4773 +
    4774 +// Use wxStandardPaths class which allows to retrieve some standard locations
    4775 +// in the file system
    4776 +//
    4777 +// Default is 1
    4778 +//
    4779 +// Recommended setting: 1 (may be disabled to save space, but not much)
    4780 +#define wxUSE_STDPATHS      1
    4781 +
    4782 +// use wxTextBuffer class: required by wxTextFile
    4783 +#define wxUSE_TEXTBUFFER    1
    4784 +
    4785 +// use wxTextFile class: requires wxFile and wxTextBuffer, required by
    4786 +// wxFileConfig
    4787 +#define wxUSE_TEXTFILE      1
    4788 +
    4789 +// i18n support: _() macro, wxLocale class. Requires wxTextFile.
    4790 +#define wxUSE_INTL          1
    4791 +
    4792 +// Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which
    4793 +// allow to manipulate dates, times and time intervals. wxDateTime replaces the
    4794 +// old wxTime and wxDate classes which are still provided for backwards
    4795 +// compatibility (and implemented in terms of wxDateTime).
    4796 +//
    4797 +// Note that this class is relatively new and is still officially in alpha
    4798 +// stage because some features are not yet (fully) implemented. It is already
    4799 +// quite useful though and should only be disabled if you are aiming at
    4800 +// absolutely minimal version of the library.
    4801 +//
    4802 +// Requires: wxUSE_LONGLONG
    4803 +//
    4804 +// Default is 1
    4805 +//
    4806 +// Recommended setting: 1
    4807 +#define wxUSE_DATETIME      1
    4808 +
    4809 +// Set wxUSE_TIMER to 1 to compile wxTimer class
    4810 +//
    4811 +// Default is 1
    4812 +//
    4813 +// Recommended setting: 1
    4814 +#define wxUSE_TIMER         1
    4815 +
    4816 +// Use wxStopWatch clas.
    4817 +//
    4818 +// Default is 1
    4819 +//
    4820 +// Recommended setting: 1 (needed by wxSocket)
    4821 +#define wxUSE_STOPWATCH     1
    4822 +
    4823 +// Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
    4824 +// which allow the application to store its settings in the persistent
    4825 +// storage. Setting this to 1 will also enable on-demand creation of the
    4826 +// global config object in wxApp.
    4827 +//
    4828 +// See also wxUSE_CONFIG_NATIVE below.
    4829 +//
    4830 +// Recommended setting: 1
    4831 +#define wxUSE_CONFIG        1
    4832 +
    4833 +// If wxUSE_CONFIG is 1, you may choose to use either the native config
    4834 +// classes under Windows (using .INI files under Win16 and the registry under
    4835 +// Win32) or the portable text file format used by the config classes under
    4836 +// Unix.
    4837 +//
    4838 +// Default is 1 to use native classes. Note that you may still use
    4839 +// wxFileConfig even if you set this to 1 - just the config object created by
    4840 +// default for the applications needs will be a wxRegConfig or wxIniConfig and
    4841 +// not wxFileConfig.
    4842 +//
    4843 +// Recommended setting: 1
    4844 +#define wxUSE_CONFIG_NATIVE   1
    4845 +
    4846 +// If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows
    4847 +// to connect/disconnect from the network and be notified whenever the dial-up
    4848 +// network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER.
    4849 +//
    4850 +// Default is 1.
    4851 +//
    4852 +// Recommended setting: 1
    4853 +#define wxUSE_DIALUP_MANAGER   0
    4854 +
    4855 +// Compile in classes for run-time DLL loading and function calling.
    4856 +// Required by wxUSE_DIALUP_MANAGER.
    4857 +//
    4858 +// This setting is for Win32 only
    4859 +//
    4860 +// Default is 1.
    4861 +//
    4862 +// Recommended setting: 1
    4863 +#define wxUSE_DYNLIB_CLASS    1
    4864 +
    4865 +// experimental, don't use for now
    4866 +#define wxUSE_DYNAMIC_LOADER  1
    4867 +
    4868 +// Set to 1 to use socket classes
    4869 +#define wxUSE_SOCKETS       1
    4870 +
    4871 +// Set to 1 to enable virtual file systems (required by wxHTML)
    4872 +#define wxUSE_FILESYSTEM    1
    4873 +
    4874 +// Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
    4875 +#define wxUSE_FS_ZIP        1
    4876 +
    4877 +// Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
    4878 +#define wxUSE_FS_ARCHIVE    1
    4879 +
    4880 +// Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
    4881 +#define wxUSE_FS_INET       1
    4882 +
    4883 +// wxArchive classes for accessing archives such as zip and tar
    4884 +#define wxUSE_ARCHIVE_STREAMS     1
    4885 +
    4886 +// Set to 1 to compile wxZipInput/OutputStream classes.
    4887 +#define wxUSE_ZIPSTREAM     1
    4888 +
    4889 +// Set to 1 to compile wxTarInput/OutputStream classes.
    4890 +#define wxUSE_TARSTREAM     1
    4891 +
    4892 +// Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
    4893 +// wxUSE_LIBPNG
    4894 +#define wxUSE_ZLIB          1
    4895 +
    4896 +// If enabled, the code written by Apple will be used to write, in a portable
    4897 +// way, float on the disk. See extended.c for the license which is different
    4898 +// from wxWidgets one.
    4899 +//
    4900 +// Default is 1.
    4901 +//
    4902 +// Recommended setting: 1 unless you don't like the license terms (unlikely)
    4903 +#define wxUSE_APPLE_IEEE          1
    4904 +
    4905 +// Joystick support class
    4906 +#define wxUSE_JOYSTICK            1
    4907 +
    4908 +// wxFontMapper class
    4909 +#define wxUSE_FONTMAP 1
    4910 +
    4911 +// wxMimeTypesManager class
    4912 +#define wxUSE_MIMETYPE 1
    4913 +
    4914 +// wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
    4915 +// or wxURL you need to set this to 1.
    4916 +//
    4917 +// Default is 1.
    4918 +//
    4919 +// Recommended setting: 1
    4920 +#define wxUSE_PROTOCOL 1
    4921 +
    4922 +// The settings for the individual URL schemes
    4923 +#define wxUSE_PROTOCOL_FILE 1
    4924 +#define wxUSE_PROTOCOL_FTP 1
    4925 +#define wxUSE_PROTOCOL_HTTP 1
    4926 +
    4927 +// Define this to use wxURL class.
    4928 +#define wxUSE_URL 1
    4929 +
    4930 +// Define this to use native platform url and protocol support.
    4931 +// Currently valid only for MS-Windows.
    4932 +// Note: if you set this to 1, you can open ftp/http/gopher sites
    4933 +// and obtain a valid input stream for these sites
    4934 +// even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.
    4935 +// Doing so reduces the code size.
    4936 +//
    4937 +// This code is experimental and subject to change.
    4938 +#define wxUSE_URL_NATIVE 0
    4939 +
    4940 +// Support for wxVariant class used in several places throughout the library,
    4941 +// notably in wxDataViewCtrl API.
    4942 +//
    4943 +// Default is 1.
    4944 +//
    4945 +// Recommended setting: 1 unless you want to reduce the library size as much as
    4946 +// possible in which case setting this to 0 can gain up to 100KB.
    4947 +#define wxUSE_VARIANT 1
    4948 +
    4949 +// Support for regular expression matching via wxRegEx class: enable this to
    4950 +// use POSIX regular expressions in your code. You need to compile regex
    4951 +// library from src/regex to use it under Windows.
    4952 +//
    4953 +// Default is 0
    4954 +//
    4955 +// Recommended setting: 1 if your compiler supports it, if it doesn't please
    4956 +// contribute us a makefile for src/regex for it
    4957 +#define wxUSE_REGEX       1
    4958 +
    4959 +// wxSystemOptions class
    4960 +#define wxUSE_SYSTEM_OPTIONS 1
    4961 +
    4962 +// wxSound class
    4963 +#define wxUSE_SOUND      1
    4964 +
    4965 +// Use wxMediaCtrl
    4966 +//
    4967 +// Default is 1.
    4968 +//
    4969 +// Recommended setting: 1
    4970 +#define wxUSE_MEDIACTRL     1
    4971 +
    4972 +// Use GStreamer for Unix (req a lot of dependancies)
    4973 +//
    4974 +// Default is 0
    4975 +//
    4976 +// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
    4977 +#define wxUSE_GSTREAMER    0
    4978 +
    4979 +// Use wxWidget's XRC XML-based resource system.  Recommended.
    4980 +//
    4981 +// Default is 1
    4982 +//
    4983 +// Recommended setting: 1 (requires wxUSE_XML)
    4984 +#define wxUSE_XRC       1
    4985 +
    4986 +// XML parsing classes. Note that their API will change in the future, so
    4987 +// using wxXmlDocument and wxXmlNode in your app is not recommended.
    4988 +//
    4989 +// Default is the same as wxUSE_XRC, i.e. 1 by default.
    4990 +//
    4991 +// Recommended setting: 1 (required by XRC)
    4992 +#define wxUSE_XML       wxUSE_XRC
    4993 +
    4994 +// Use wxWidget's AUI docking system
    4995 +//
    4996 +// Default is 1
    4997 +//
    4998 +// Recommended setting: 1
    4999 +#define wxUSE_AUI       1
    5000 +
    5001 +
    5002 +// Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
    5003 +// 2D drawing API.  (Still somewhat experimental)
    5004 +//
    5005 +// Please note that on Windows you will need to link with gdiplus.lib (use
    5006 +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your
    5007 +// application if you want it to be runnable on pre-XP systems.
    5008 +//
    5009 +// Default is 0
    5010 +//
    5011 +// Recommended setting: 1
    5012 +#ifndef wxUSE_GRAPHICS_CONTEXT
    5013 +#define wxUSE_GRAPHICS_CONTEXT 1
    5014 +#endif
    5015 +
    5016 +// ----------------------------------------------------------------------------
    5017 +// Individual GUI controls
    5018 +// ----------------------------------------------------------------------------
    5019 +
    5020 +// You must set wxUSE_CONTROLS to 1 if you are using any controls at all
    5021 +// (without it, wxControl class is not compiled)
    5022 +//
    5023 +// Default is 1
    5024 +//
    5025 +// Recommended setting: 1 (don't change except for very special programs)
    5026 +#define wxUSE_CONTROLS     1
    5027 +
    5028 +// wxPopupWindow class is a top level transient window. It is currently used
    5029 +// to implement wxTipWindow
    5030 +//
    5031 +// Default is 1
    5032 +//
    5033 +// Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
    5034 +#define wxUSE_POPUPWIN     1
    5035 +
    5036 +// wxTipWindow allows to implement the custom tooltips, it is used by the
    5037 +// context help classes. Requires wxUSE_POPUPWIN.
    5038 +//
    5039 +// Default is 1
    5040 +//
    5041 +// Recommended setting: 1 (may be set to 0)
    5042 +#define wxUSE_TIPWINDOW    1
    5043 +
    5044 +// Each of the settings below corresponds to one wxWidgets control. They are
    5045 +// all switched on by default but may be disabled if you are sure that your
    5046 +// program (including any standard dialogs it can show!) doesn't need them and
    5047 +// if you desperately want to save some space. If you use any of these you must
    5048 +// set wxUSE_CONTROLS as well.
    5049 +//
    5050 +// Default is 1
    5051 +//
    5052 +// Recommended setting: 1
    5053 +#define wxUSE_ANIMATIONCTRL 1   // wxAnimationCtrl
    5054 +#define wxUSE_BUTTON        1   // wxButton
    5055 +#define wxUSE_BMPBUTTON     1   // wxBitmapButton
    5056 +#define wxUSE_CALENDARCTRL  1   // wxCalendarCtrl
    5057 +#define wxUSE_CHECKBOX      1   // wxCheckBox
    5058 +#define wxUSE_CHECKLISTBOX  1   // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
    5059 +#define wxUSE_CHOICE        1   // wxChoice
    5060 +#define wxUSE_COLLPANE      1   // wxCollapsiblePane
    5061 +#define wxUSE_COLOURPICKERCTRL 1    // wxColourPickerCtrl
    5062 +#define wxUSE_COMBOBOX      1   // wxComboBox
    5063 +#define wxUSE_DATAVIEWCTRL  1   // wxDataViewCtrl
    5064 +#define wxUSE_DATEPICKCTRL  1   // wxDatePickerCtrl
    5065 +#define wxUSE_DIRPICKERCTRL 1   // wxDirPickerCtrl
    5066 +#define wxUSE_FILEPICKERCTRL 1  // wxFilePickerCtrl
    5067 +#define wxUSE_FONTPICKERCTRL 1  // wxFontPickerCtrl
    5068 +#define wxUSE_GAUGE         1   // wxGauge
    5069 +#define wxUSE_HYPERLINKCTRL 1   // wxHyperlinkCtrl
    5070 +#define wxUSE_LISTBOX       1   // wxListBox
    5071 +#define wxUSE_LISTCTRL      1   // wxListCtrl
    5072 +#define wxUSE_RADIOBOX      1   // wxRadioBox
    5073 +#define wxUSE_RADIOBTN      1   // wxRadioButton
    5074 +#define wxUSE_SCROLLBAR     1   // wxScrollBar
    5075 +#define wxUSE_SEARCHCTRL    1   // wxSearchCtrl
    5076 +#define wxUSE_SLIDER        1   // wxSlider
    5077 +#define wxUSE_SPINBTN       1   // wxSpinButton
    5078 +#define wxUSE_SPINCTRL      1   // wxSpinCtrl
    5079 +#define wxUSE_STATBOX       1   // wxStaticBox
    5080 +#define wxUSE_STATLINE      1   // wxStaticLine
    5081 +#define wxUSE_STATTEXT      1   // wxStaticText
    5082 +#define wxUSE_STATBMP       1   // wxStaticBitmap
    5083 +#define wxUSE_TEXTCTRL      1   // wxTextCtrl
    5084 +#define wxUSE_TOGGLEBTN     1   // requires wxButton
    5085 +#define wxUSE_TREECTRL      1   // wxTreeCtrl
    5086 +
    5087 +// Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR
    5088 +// below either wxStatusBar95 or a generic wxStatusBar will be used.
    5089 +//
    5090 +// Default is 1
    5091 +//
    5092 +// Recommended setting: 1
    5093 +#define wxUSE_STATUSBAR    1
    5094 +
    5095 +// Two status bar implementations are available under Win32: the generic one
    5096 +// or the wrapper around native control. For native look and feel the native
    5097 +// version should be used.
    5098 +//
    5099 +// Default is 1 for the platforms where native status bar is supported.
    5100 +//
    5101 +// Recommended setting: 1 (there is no advantage in using the generic one)
    5102 +#define wxUSE_NATIVE_STATUSBAR        1
    5103 +
    5104 +// wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
    5105 +// classes at all. Otherwise, use the native toolbar class unless
    5106 +// wxUSE_TOOLBAR_NATIVE is 0.
    5107 +//
    5108 +// Default is 1 for all settings.
    5109 +//
    5110 +// Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.
    5111 +#define wxUSE_TOOLBAR 1
    5112 +#define wxUSE_TOOLBAR_NATIVE 1
    5113 +
    5114 +// wxNotebook is a control with several "tabs" located on one of its sides. It
    5115 +// may be used to logically organise the data presented to the user instead of
    5116 +// putting everything in one huge dialog. It replaces wxTabControl and related
    5117 +// classes of wxWin 1.6x.
    5118 +//
    5119 +// Default is 1.
    5120 +//
    5121 +// Recommended setting: 1
    5122 +#define wxUSE_NOTEBOOK 1
    5123 +
    5124 +// wxListbook control is similar to wxNotebook but uses wxListCtrl instead of
    5125 +// the tabs
    5126 +//
    5127 +// Default is 1.
    5128 +//
    5129 +// Recommended setting: 1
    5130 +#define wxUSE_LISTBOOK 1
    5131 +
    5132 +// wxChoicebook control is similar to wxNotebook but uses wxChoice instead of
    5133 +// the tabs
    5134 +//
    5135 +// Default is 1.
    5136 +//
    5137 +// Recommended setting: 1
    5138 +#define wxUSE_CHOICEBOOK 1
    5139 +
    5140 +// wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of
    5141 +// the tabs
    5142 +//
    5143 +// Default is 1.
    5144 +//
    5145 +// Recommended setting: 1
    5146 +#define wxUSE_TREEBOOK 1
    5147 +
    5148 +// wxToolbook control is similar to wxNotebook but uses wxToolBar instead of
    5149 +// tabs
    5150 +//
    5151 +// Default is 1.
    5152 +//
    5153 +// Recommended setting: 1
    5154 +#define wxUSE_TOOLBOOK 1
    5155 +
    5156 +// wxTabDialog is a generic version of wxNotebook but it is incompatible with
    5157 +// the new class. It shouldn't be used in new code.
    5158 +//
    5159 +// Default is 0.
    5160 +//
    5161 +// Recommended setting: 0 (use wxNotebook)
    5162 +#define wxUSE_TAB_DIALOG    0
    5163 +
    5164 +// wxGrid class
    5165 +//
    5166 +// Default is 1, set to 0 to cut down compilation time and binaries size if you
    5167 +// don't use it.
    5168 +//
    5169 +// Recommended setting: 1
    5170 +//
    5171 +#define wxUSE_GRID         1
    5172 +
    5173 +// wxMiniFrame class: a frame with narrow title bar
    5174 +//
    5175 +// Default is 1.
    5176 +//
    5177 +// Recommended setting: 1 (it doesn't cost almost anything)
    5178 +#define wxUSE_MINIFRAME 1
    5179 +
    5180 +// wxComboCtrl and related classes: combobox with custom popup window and
    5181 +// not necessarily a listbox.
    5182 +//
    5183 +// Default is 1.
    5184 +//
    5185 +// Recommended setting: 1 but can be safely set to 0 except for wxUniv where it
    5186 +//                      it used by wxComboBox
    5187 +#define wxUSE_COMBOCTRL 1
    5188 +
    5189 +// wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox
    5190 +// items.
    5191 +//
    5192 +// Default is 1.
    5193 +//
    5194 +// Recommended setting: 1 but can be safely set to 0, except where it is
    5195 +//                      needed as a base class for generic wxBitmapComboBox.
    5196 +#define wxUSE_ODCOMBOBOX 1
    5197 +
    5198 +// wxBitmapComboBox is a combobox that can have images in front of text items.
    5199 +//
    5200 +// Default is 1.
    5201 +//
    5202 +// Recommended setting: 1 but can be safely set to 0
    5203 +#define wxUSE_BITMAPCOMBOBOX 1
    5204 +
    5205 +// ----------------------------------------------------------------------------
    5206 +// Miscellaneous GUI stuff
    5207 +// ----------------------------------------------------------------------------
    5208 +
    5209 +// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
    5210 +#define wxUSE_ACCEL 1
    5211 +
    5212 +// Hotkey support (currently Windows only)
    5213 +#define wxUSE_HOTKEY 1
    5214 +
    5215 +// Use wxCaret: a class implementing a "cursor" in a text control (called caret
    5216 +// under Windows).
    5217 +//
    5218 +// Default is 1.
    5219 +//
    5220 +// Recommended setting: 1 (can be safely set to 0, not used by the library)
    5221 +#define wxUSE_CARET         1
    5222 +
    5223 +// Use wxDisplay class: it allows enumerating all displays on a system and
    5224 +// their geometries as well as finding the display on which the given point or
    5225 +// window lies.
    5226 +//
    5227 +// Default is 1.
    5228 +//
    5229 +// Recommended setting: 1 if you need it, can be safely set to 0 otherwise
    5230 +#define wxUSE_DISPLAY       1
    5231 +
    5232 +// Miscellaneous geometry code: needed for Canvas library
    5233 +#define wxUSE_GEOMETRY            1
    5234 +
    5235 +// Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and
    5236 +// wxListCtrl.
    5237 +//
    5238 +// Default is 1.
    5239 +//
    5240 +// Recommended setting: 1 (set it to 0 if you don't use any of the controls
    5241 +// enumerated above, then this class is mostly useless too)
    5242 +#define wxUSE_IMAGLIST      1
    5243 +
    5244 +// Use wxMenu, wxMenuBar, wxMenuItem.
    5245 +//
    5246 +// Default is 1.
    5247 +//
    5248 +// Recommended setting: 1 (can't be disabled under MSW)
    5249 +#define wxUSE_MENUS         1
    5250 +
    5251 +// Use wxSashWindow class.
    5252 +//
    5253 +// Default is 1.
    5254 +//
    5255 +// Recommended setting: 1
    5256 +#define wxUSE_SASH          1
    5257 +
    5258 +// Use wxSplitterWindow class.
    5259 +//
    5260 +// Default is 1.
    5261 +//
    5262 +// Recommended setting: 1
    5263 +#define wxUSE_SPLITTER      1
    5264 +
    5265 +// Use wxToolTip and wxWindow::Set/GetToolTip() methods.
    5266 +//
    5267 +// Default is 1.
    5268 +//
    5269 +// Recommended setting: 1
    5270 +#define wxUSE_TOOLTIPS      1
    5271 +
    5272 +// wxValidator class and related methods
    5273 +#define wxUSE_VALIDATORS 1
    5274 +
    5275 +// ----------------------------------------------------------------------------
    5276 +// common dialogs
    5277 +// ----------------------------------------------------------------------------
    5278 +
    5279 +// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g.
    5280 +// file selector, printer dialog). Switching this off also switches off the
    5281 +// printing architecture and interactive wxPrinterDC.
    5282 +//
    5283 +// Default is 1
    5284 +//
    5285 +// Recommended setting: 1 (unless it really doesn't work)
    5286 +#define wxUSE_COMMON_DIALOGS 1
    5287 +
    5288 +// wxBusyInfo displays window with message when app is busy. Works in same way
    5289 +// as wxBusyCursor
    5290 +#define wxUSE_BUSYINFO      1
    5291 +
    5292 +// Use single/multiple choice dialogs.
    5293 +//
    5294 +// Default is 1
    5295 +//
    5296 +// Recommended setting: 1 (used in the library itself)
    5297 +#define wxUSE_CHOICEDLG     1
    5298 +
    5299 +// Use colour picker dialog
    5300 +//
    5301 +// Default is 1
    5302 +//
    5303 +// Recommended setting: 1
    5304 +#define wxUSE_COLOURDLG     1
    5305 +
    5306 +// wxDirDlg class for getting a directory name from user
    5307 +#define wxUSE_DIRDLG 1
    5308 +
    5309 +// TODO: setting to choose the generic or native one
    5310 +
    5311 +// Use file open/save dialogs.
    5312 +//
    5313 +// Default is 1
    5314 +//
    5315 +// Recommended setting: 1 (used in many places in the library itself)
    5316 +#define wxUSE_FILEDLG       1
    5317 +
    5318 +// Use find/replace dialogs.
    5319 +//
    5320 +// Default is 1
    5321 +//
    5322 +// Recommended setting: 1 (but may be safely set to 0)
    5323 +#define wxUSE_FINDREPLDLG       1
    5324 +
    5325 +// Use font picker dialog
    5326 +//
    5327 +// Default is 1
    5328 +//
    5329 +// Recommended setting: 1 (used in the library itself)
    5330 +#define wxUSE_FONTDLG       1
    5331 +
    5332 +// Use wxMessageDialog and wxMessageBox.
    5333 +//
    5334 +// Default is 1
    5335 +//
    5336 +// Recommended setting: 1 (used in the library itself)
    5337 +#define wxUSE_MSGDLG        1
    5338 +
    5339 +// progress dialog class for lengthy operations
    5340 +#define wxUSE_PROGRESSDLG 1
    5341 +
    5342 +// support for startup tips (wxShowTip &c)
    5343 +#define wxUSE_STARTUP_TIPS 1
    5344 +
    5345 +// text entry dialog and wxGetTextFromUser function
    5346 +#define wxUSE_TEXTDLG 1
    5347 +
    5348 +// number entry dialog
    5349 +#define wxUSE_NUMBERDLG 1
    5350 +
    5351 +// splash screen class
    5352 +#define wxUSE_SPLASH 1
    5353 +
    5354 +// wizards
    5355 +#define wxUSE_WIZARDDLG 1
    5356 +
    5357 +// Compile in wxAboutBox() function showing the standard "About" dialog.
    5358 +//
    5359 +// Default is 1
    5360 +//
    5361 +// Recommended setting: 1 but can be set to 0 to save some space if you don't
    5362 +//                      use this function
    5363 +#define wxUSE_ABOUTDLG 1
    5364 +
    5365 +// ----------------------------------------------------------------------------
    5366 +// Metafiles support
    5367 +// ----------------------------------------------------------------------------
    5368 +
    5369 +// Windows supports the graphics format known as metafile which is, though not
    5370 +// portable, is widely used under Windows and so is supported by wxWin (under
    5371 +// Windows only, of course). Win16 (Win3.1) used the so-called "Window
    5372 +// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
    5373 +// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
    5374 +// default, WMFs will be used under Win16 and EMFs under Win32. This may be
    5375 +// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
    5376 +// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
    5377 +// in any metafile related classes at all.
    5378 +//
    5379 +// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
    5380 +//
    5381 +// Recommended setting: default or 0 for everything for portable programs.
    5382 +#define wxUSE_METAFILE              1
    5383 +#define wxUSE_ENH_METAFILE          1
    5384 +#define wxUSE_WIN_METAFILES_ALWAYS  0
    5385 +
    5386 +// ----------------------------------------------------------------------------
    5387 +// Big GUI components
    5388 +// ----------------------------------------------------------------------------
    5389 +
    5390 +// Set to 0 to disable MDI support.
    5391 +//
    5392 +// Requires wxUSE_NOTEBOOK under platforms other than MSW.
    5393 +//
    5394 +// Default is 1.
    5395 +//
    5396 +// Recommended setting: 1, can be safely set to 0.
    5397 +#define wxUSE_MDI 1
    5398 +
    5399 +// Set to 0 to disable document/view architecture
    5400 +#define wxUSE_DOC_VIEW_ARCHITECTURE 1
    5401 +
    5402 +// Set to 0 to disable MDI document/view architecture
    5403 +//
    5404 +// Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
    5405 +#define wxUSE_MDI_ARCHITECTURE    1
    5406 +
    5407 +// Set to 0 to disable print/preview architecture code
    5408 +#define wxUSE_PRINTING_ARCHITECTURE  1
    5409 +
    5410 +// wxHTML sublibrary allows to display HTML in wxWindow programs and much,
    5411 +// much more.
    5412 +//
    5413 +// Default is 1.
    5414 +//
    5415 +// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
    5416 +// smaller library.
    5417 +#define wxUSE_HTML          1
    5418 +
    5419 +// Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL
    5420 +// headers and libraries to be able to compile the library with wxUSE_GLCANVAS
    5421 +// set to 1. Note that for some compilers (notably Microsoft Visual C++) you
    5422 +// will need to manually add opengl32.lib and glu32.lib to the list of
    5423 +// libraries linked with your program if you use OpenGL.
    5424 +//
    5425 +// Default is 0.
    5426 +//
    5427 +// Recommended setting: 1 if you intend to use OpenGL, 0 otherwise
    5428 +#define wxUSE_GLCANVAS       1
    5429 +
    5430 +// wxRichTextCtrl allows editing of styled text.
    5431 +//
    5432 +// Default is 1.
    5433 +//
    5434 +// Recommended setting: 1, set to 0 if you want compile a
    5435 +// smaller library.
    5436 +#define wxUSE_RICHTEXT       1
    5437 +
    5438 +// ----------------------------------------------------------------------------
    5439 +// Data transfer
    5440 +// ----------------------------------------------------------------------------
    5441 +
    5442 +// Use wxClipboard class for clipboard copy/paste.
    5443 +//
    5444 +// Default is 1.
    5445 +//
    5446 +// Recommended setting: 1
    5447 +#define wxUSE_CLIPBOARD     1
    5448 +
    5449 +// Use wxDataObject and related classes. Needed for clipboard and OLE drag and
    5450 +// drop
    5451 +//
    5452 +// Default is 1.
    5453 +//
    5454 +// Recommended setting: 1
    5455 +#define wxUSE_DATAOBJ       1
    5456 +
    5457 +// Use wxDropTarget and wxDropSource classes for drag and drop (this is
    5458 +// different from "built in" drag and drop in wxTreeCtrl which is always
    5459 +// available). Requires wxUSE_DATAOBJ.
    5460 +//
    5461 +// Default is 1.
    5462 +//
    5463 +// Recommended setting: 1
    5464 +#define wxUSE_DRAG_AND_DROP 1
    5465 +
    5466 +// Use wxAccessible for enhanced and customisable accessibility.
    5467 +// Depends on wxUSE_OLE.
    5468 +//
    5469 +// Default is 0.
    5470 +//
    5471 +// Recommended setting (at present): 0
    5472 +#define wxUSE_ACCESSIBILITY 0
    5473 +
    5474 +// ----------------------------------------------------------------------------
    5475 +// miscellaneous settings
    5476 +// ----------------------------------------------------------------------------
    5477 +
    5478 +// wxSingleInstanceChecker class allows to verify at startup if another program
    5479 +// instance is running.
    5480 +//
    5481 +// Default is 1
    5482 +//
    5483 +// Recommended setting: 1 (the class is tiny, disabling it won't save much
    5484 +// space)
    5485 +#define wxUSE_SNGLINST_CHECKER  1
    5486 +
    5487 +#define wxUSE_DRAGIMAGE 1
    5488 +
    5489 +#define wxUSE_IPC         1
    5490 +                                // 0 for no interprocess comms
    5491 +#define wxUSE_HELP        1
    5492 +                                // 0 for no help facility
    5493 +
    5494 +// Should we use MS HTML help for wxHelpController? If disabled, neither
    5495 +// wxCHMHelpController nor wxBestHelpController are available.
    5496 +//
    5497 +// Default is 1 under MSW, 0 is always used for the other platforms.
    5498 +//
    5499 +// Recommended setting: 1, only set to 0 if you have trouble compiling
    5500 +// wxCHMHelpController (could be a problem with really ancient compilers)
    5501 +#define wxUSE_MS_HTML_HELP 1
    5502 +
    5503 +
    5504 +// Use wxHTML-based help controller?
    5505 +#define wxUSE_WXHTML_HELP 1
    5506 +
    5507 +#define wxUSE_RESOURCES   0
    5508 +                                // 0 for no wxGetResource/wxWriteResource
    5509 +#define wxUSE_CONSTRAINTS 1
    5510 +                                // 0 for no window layout constraint system
    5511 +
    5512 +#define wxUSE_SPLINES     1
    5513 +                                // 0 for no splines
    5514 +
    5515 +#define wxUSE_MOUSEWHEEL        1
    5516 +                                // Include mouse wheel support
    5517 +
    5518 +// ----------------------------------------------------------------------------
    5519 +// postscript support settings
    5520 +// ----------------------------------------------------------------------------
    5521 +
    5522 +// Set to 1 for PostScript device context.
    5523 +#define wxUSE_POSTSCRIPT  1
    5524 +
    5525 +// Set to 1 to use font metric files in GetTextExtent
    5526 +#define wxUSE_AFM_FOR_POSTSCRIPT 1
    5527 +
    5528 +// ----------------------------------------------------------------------------
    5529 +// database classes
    5530 +// ----------------------------------------------------------------------------
    5531 +
    5532 +// Define 1 to use ODBC classes
    5533 +#define wxUSE_ODBC          0
    5534 +
    5535 +// For backward compatibility reasons, this parameter now only controls the
    5536 +// default scrolling method used by cursors.  This default behavior can be
    5537 +// overriden by setting the second param of wxDB::wxDbGetConnection() or
    5538 +// wxDb() constructor to indicate whether the connection (and any wxDbTable()s
    5539 +// that use the connection) should support forward only scrolling of cursors,
    5540 +// or both forward and backward support for backward scrolling cursors is
    5541 +// dependent on the data source as well as the ODBC driver being used.
    5542 +#define wxODBC_FWD_ONLY_CURSORS         1
    5543 +
    5544 +// Default is 0.  Set to 1 to use the deprecated classes, enum types, function,
    5545 +// member variables.  With a setting of 1, full backward compatibility with the
    5546 +// 2.0.x release is possible. It is STRONGLY recommended that this be set to 0,
    5547 +// as future development will be done only on the non-deprecated
    5548 +// functions/classes/member variables/etc.
    5549 +#define wxODBC_BACKWARD_COMPATABILITY 0
    5550 +
    5551 +// ----------------------------------------------------------------------------
    5552 +// other compiler (mis)features
    5553 +// ----------------------------------------------------------------------------
    5554 +
    5555 +// Set this to 0 if your compiler can't cope with omission of prototype
    5556 +// parameters.
    5557 +//
    5558 +// Default is 1.
    5559 +//
    5560 +// Recommended setting: 1 (should never need to set this to 0)
    5561 +#define REMOVE_UNUSED_ARG   1
    5562 +
    5563 +// VC++ 4.2 and above allows <iostream> and <iostream.h> but you can't mix
    5564 +// them. Set to 1 for <iostream.h>, 0 for <iostream>. Note that VC++ 7.1
    5565 +// and later doesn't support wxUSE_IOSTREAMH == 1 and so <iostream> will be
    5566 +// used anyhow.
    5567 +//
    5568 +// Default is 1.
    5569 +//
    5570 +// Recommended setting: whatever your compiler likes more
    5571 +#define wxUSE_IOSTREAMH     1
    5572 +
    5573 +// ----------------------------------------------------------------------------
    5574 +// image format support
    5575 +// ----------------------------------------------------------------------------
    5576 +
    5577 +// wxImage supports many different image formats which can be configured at
    5578 +// compile-time. BMP is always supported, others are optional and can be safely
    5579 +// disabled if you don't plan to use images in such format sometimes saving
    5580 +// substantial amount of code in the final library.
    5581 +//
    5582 +// Some formats require an extra library which is included in wxWin sources
    5583 +// which is mentioned if it is the case.
    5584 +
    5585 +// Set to 1 for wxImage support (recommended).
    5586 +#define wxUSE_IMAGE         1
    5587 +
    5588 +// Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB.
    5589 +#define wxUSE_LIBPNG        1
    5590 +
    5591 +// Set to 1 for JPEG format support (requires libjpeg)
    5592 +#define wxUSE_LIBJPEG       1
    5593 +
    5594 +// Set to 1 for TIFF format support (requires libtiff)
    5595 +#define wxUSE_LIBTIFF       1
    5596 +
    5597 +// Set to 1 for TGA format support (loading only)
    5598 +#define wxUSE_TGA           1
    5599 +
    5600 +// Set to 1 for GIF format support
    5601 +#define wxUSE_GIF           1
    5602 +
    5603 +// Set to 1 for PNM format support
    5604 +#define wxUSE_PNM           1
    5605 +
    5606 +// Set to 1 for PCX format support
    5607 +#define wxUSE_PCX           1
    5608 +
    5609 +// Set to 1 for IFF format support (Amiga format)
    5610 +#define wxUSE_IFF           0
    5611 +
    5612 +// Set to 1 for XPM format support
    5613 +#define wxUSE_XPM           1
    5614 +
    5615 +// Set to 1 for MS Icons and Cursors format support
    5616 +#define wxUSE_ICO_CUR       1
    5617 +
    5618 +// Set to 1 to compile in wxPalette class
    5619 +#define wxUSE_PALETTE       1
    5620 +
    5621 +// ----------------------------------------------------------------------------
    5622 +// wxUniversal-only options
    5623 +// ----------------------------------------------------------------------------
    5624 +
    5625 +// Set to 1 to enable compilation of all themes, this is the default
    5626 +#define wxUSE_ALL_THEMES    1
    5627 +
    5628 +// Set to 1 to enable the compilation of individual theme if wxUSE_ALL_THEMES
    5629 +// is unset, if it is set these options are not used; notice that metal theme
    5630 +// uses Win32 one
    5631 +#define wxUSE_THEME_GTK     0
    5632 +#define wxUSE_THEME_METAL   0
    5633 +#define wxUSE_THEME_MONO    0
    5634 +#define wxUSE_THEME_WIN32   0
    5635 +
    5636 +
    5637 +/* --- end common options --- */
    5638 +
    5639 +// ----------------------------------------------------------------------------
    5640 +// Windows-only settings
    5641 +// ----------------------------------------------------------------------------
    5642 +
    5643 +// Set wxUSE_UNICODE_MSLU to 1 if you're compiling wxWidgets in Unicode mode
    5644 +// and want to run your programs under Windows 9x and not only NT/2000/XP.
    5645 +// This setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see
    5646 +// http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx). Note
    5647 +// that you will have to modify the makefiles to include unicows.lib import
    5648 +// library as the first library (see installation instructions in install.txt
    5649 +// to learn how to do it when building the library or samples).
    5650 +//
    5651 +// If your compiler doesn't have unicows.lib, you can get a version of it at
    5652 +// http://libunicows.sourceforge.net
    5653 +//
    5654 +// Default is 0
    5655 +//
    5656 +// Recommended setting: 0 (1 if you want to deploy Unicode apps on 9x systems)
    5657 +#ifndef wxUSE_UNICODE_MSLU
    5658 +    #define wxUSE_UNICODE_MSLU 1
    5659 +#endif
    5660 +
    5661 +// Set this to 1 if you want to use wxWidgets and MFC in the same program. This
    5662 +// will override some other settings (see below)
    5663 +//
    5664 +// Default is 0.
    5665 +//
    5666 +// Recommended setting: 0 unless you really have to use MFC
    5667 +#define wxUSE_MFC           0
    5668 +
    5669 +// Set this to 1 for generic OLE support: this is required for drag-and-drop,
    5670 +// clipboard, OLE Automation. Only set it to 0 if your compiler is very old and
    5671 +// can't compile/doesn't have the OLE headers.
    5672 +//
    5673 +// Default is 1.
    5674 +//
    5675 +// Recommended setting: 1
    5676 +#define wxUSE_OLE           1
    5677 +
    5678 +// Set this to 1 to enable wxAutomationObject class.
    5679 +//
    5680 +// Default is 1.
    5681 +//
    5682 +// Recommended setting: 1 if you need to control other applications via OLE
    5683 +// Automation, can be safely set to 0 otherwise
    5684 +#define wxUSE_OLE_AUTOMATION 1
    5685 +
    5686 +// Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
    5687 +// controls in wx.
    5688 +//
    5689 +// Default is 1.
    5690 +//
    5691 +// Recommended setting: 1, required by wxMediaCtrl
    5692 +#define wxUSE_ACTIVEX 1
    5693 +
    5694 +// wxDC cacheing implementation
    5695 +#define wxUSE_DC_CACHEING 1
    5696 +
    5697 +// Set this to 1 to enable the use of DIB's for wxBitmap to support
    5698 +// bitmaps > 16MB on Win95/98/Me.  Set to 0 to use DDB's only.
    5699 +#define wxUSE_DIB_FOR_BITMAP 1
    5700 +
    5701 +// Set this to 1 to enable wxDIB class used internally for manipulating
    5702 +// wxBitmao data.
    5703 +//
    5704 +// Default is 1, set it to 0 only if you don't use wxImage neither
    5705 +//
    5706 +// Recommended setting: 1 (without it conversion to/from wxImage won't work)
    5707 +#define wxUSE_WXDIB 1
    5708 +
    5709 +// Set to 0 to disable PostScript print/preview architecture code under Windows
    5710 +// (just use Windows printing).
    5711 +#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
    5712 +
    5713 +// Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH
    5714 +// which allows to put more than ~32Kb of text in it even under Win9x (NT
    5715 +// doesn't have such limitation).
    5716 +//
    5717 +// Default is 1 for compilers which support it
    5718 +//
    5719 +// Recommended setting: 1, only set it to 0 if your compiler doesn't have
    5720 +//                      or can't compile <richedit.h>
    5721 +#define wxUSE_RICHEDIT  1
    5722 +
    5723 +// Set this to 1 to use extra features of richedit v2 and later controls
    5724 +//
    5725 +// Default is 1 for compilers which support it
    5726 +//
    5727 +// Recommended setting: 1
    5728 +#define wxUSE_RICHEDIT2 1
    5729 +
    5730 +// Set this to 1 to enable support for the owner-drawn menu and listboxes. This
    5731 +// is required by wxUSE_CHECKLISTBOX.
    5732 +//
    5733 +// Default is 1.
    5734 +//
    5735 +// Recommended setting: 1, set to 0 for a small library size reduction
    5736 +#define wxUSE_OWNER_DRAWN 1
    5737 +
    5738 +// Set to 1 to compile MS Windows XP theme engine support
    5739 +#define wxUSE_UXTHEME           1
    5740 +
    5741 +// Set to 1 to auto-adapt to MS Windows XP themes where possible
    5742 +// (notably, wxNotebook pages)
    5743 +#define wxUSE_UXTHEME_AUTO      1
    5744 +
    5745 +// Set to 1 to use InkEdit control (Tablet PC), if available
    5746 +#define wxUSE_INKEDIT  0
    5747 +
    5748 +// ----------------------------------------------------------------------------
    5749 +// Generic versions of native controls
    5750 +// ----------------------------------------------------------------------------
    5751 +
    5752 +// Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
    5753 +// native wxDatePickerCtrl
    5754 +//
    5755 +// Default is 0.
    5756 +//
    5757 +// Recommended setting: 0, this is mainly used for testing
    5758 +#define wxUSE_DATEPICKCTRL_GENERIC 1
    5759 +
    5760 +// ----------------------------------------------------------------------------
    5761 +// Crash debugging helpers
    5762 +// ----------------------------------------------------------------------------
    5763 +
    5764 +// Set this to 1 to be able to use wxCrashReport::Generate() to create mini
    5765 +// dumps of your program when it crashes (or at any other moment)
    5766 +//
    5767 +// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
    5768 +//
    5769 +// Recommended setting: 1, set to 0 if your programs never crash
    5770 +#define wxUSE_CRASHREPORT 1
    5771 +
    5772 +// ----------------------------------------------------------------------------
    5773 +// obsolete settings
    5774 +// ----------------------------------------------------------------------------
    5775 +
    5776 +// NB: all settings in this section are obsolete and should not be used/changed
    5777 +//     at all, they will disappear
    5778 +
    5779 +// Define 1 to use bitmap messages.
    5780 +#define wxUSE_BITMAP_MESSAGE         1
    5781 +
    5782 +#endif // _WX_SETUP_H_
    5783 +
    5784 diff '--exclude-from=wxPython-src-2.8.9.1/exclude' -Nur orig/wxPython-src-2.8.9.1//package.cmd wxPython-src-2.8.9.1//package.cmd
    5785 --- orig/wxPython-src-2.8.9.1//package.cmd      1970-01-01 01:00:00.000000000 +0100
    5786 +++ wxPython-src-2.8.9.1//package.cmd   2011-04-28 18:46:50.000000000 +0200
    5787 @@ -0,0 +1,18 @@
    5788 +set WXWIN=%CD%
    5789 +set WXDIR=%CD%
    5790 +set PATH=%PATH%;%WXWIN%\lib\vc_dll
    5791 +
    5792 +cd build\msw
    5793 +nmake -f makefile.vc OFFICIAL_BUILD=1 BUILD=release SHARED=1 MONOLITHIC=0 USE_XML=1 USE_OPENGL=1 USE_GDIPLUS=1 UNICODE=1 MSLU=1 HYBRID=1
    5794 +
    5795 +cd %WXWIN%\contrib\build\stc
    5796 +nmake -f makefile.vc OFFICIAL_BUILD=1 BUILD=release SHARED=1 MONOLITHIC=0 USE_XML=1 USE_OPENGL=1 USE_GDIPLUS=1 UNICODE=1 MSLU=1 HYBRID=1
    5797 +
    5798 +cd %WXWIN%\contrib\build\gizmos
    5799 +nmake -f makefile.vc OFFICIAL_BUILD=1 BUILD=release SHARED=1 MONOLITHIC=0 USE_XML=1 USE_OPENGL=1 USE_GDIPLUS=1 UNICODE=1 MSLU=1 HYBRID=1
    5800 +
    5801 +cd %WXWIN%\wxPython
    5802 +python setup.py build_ext --inplace UNICODE=1 FINAL=1 -D WXUSINGDLL
    5803 +python setup.py install UNICODE=1 FINAL=1
    5804 +
    5805 +cd %WXWIN%
    5806 }}}
    5807 
    5808 I suppose the package was then tarred up manually.
     20Jef's notes: Not sure after 2 years.  Although #85 suggests otherwise, I still have a build directory, which matches the wx DLLs found in {{{bin/}}}.
     21I suppose the package was then tarred up manually. See wxpython-2.8.9.1.diff.