setup_inc.h 50 KB

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