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