- Currently wxDEBUG_LEVEL is 0 in release builds (__WXDEBUG__ not defined)
- and 1 in debug builds (it is). In the immediate future this will change
- however and this symbol will be defined directly as 0, 1 or 2 while
- __WXDEBUG__ won't be used by wxWidgets any longer.
+ This symbol is defined to 1 by default meaning that asserts are compiled in
+ (although they may be disabled by a call to wxDisableAsserts()). You may
+ predefine it as 0 prior to including any wxWidgets headers to omit the
+ calls to wxASSERT() and related macros entirely in your own code and you
+ may also predefine it as 0 when building wxWidgets to also avoid including
+ any asserts in wxWidgets itself.
+
+ Alternatively, you may predefine it as 2 to include wxASSERT_LEVEL_2() and
+ similar macros which are used for asserts which have non-trivial run-time
+ costs and so are disabled by default.
+
+ @since 2.9.1