From 156c70573810b54a7047c13759880e878828774a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 9 Dec 2009 13:45:41 +0000 Subject: [PATCH] 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 --- interface/wx/debug.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/interface/wx/debug.h b/interface/wx/debug.h index ac3164e262..8803ff2546 100644 --- a/interface/wx/debug.h +++ b/interface/wx/debug.h @@ -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} */ -- 2.45.2