Document that wxTrap() now traps [almost] always.

Don't mention the words "release mode" as there is no such thing now, instead
refer to wxDEBUG_LEVEL explicitly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-12-09 13:45:41 +00:00
parent 40ff272990
commit 156c705738

View File

@ -363,10 +363,13 @@ wxAssertHandler_t wxSetAssertHandler(wxAssertHandler_t handler);
void wxSetDefaultAssertHandler();
/**
In debug mode (when @c __WXDEBUG__ is defined) this function generates a
debugger exception meaning that the control is passed to the debugger if
one is attached to the process. Otherwise the program just terminates
abnormally. In release mode this function does nothing.
Generate a debugger exception meaning that the control is passed to the
debugger if one is attached to the process.
Otherwise the program just terminates abnormally.
If @c wxDEBUG_LEVEL is 0 (which is not the default) this function does
nothing.
@header{wx/debug.h}
*/