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:
@@ -363,10 +363,13 @@ wxAssertHandler_t wxSetAssertHandler(wxAssertHandler_t handler);
|
|||||||
void wxSetDefaultAssertHandler();
|
void wxSetDefaultAssertHandler();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
In debug mode (when @c __WXDEBUG__ is defined) this function generates a
|
Generate a debugger exception meaning that the control is passed to the
|
||||||
debugger exception meaning that the control is passed to the debugger if
|
debugger if one is attached to the process.
|
||||||
one is attached to the process. Otherwise the program just terminates
|
|
||||||
abnormally. In release mode this function does nothing.
|
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}
|
@header{wx/debug.h}
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user