]> git.saurik.com Git - wxWidgets.git/commitdiff
Document that wxTrap() now traps [almost] always.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Dec 2009 13:45:41 +0000 (13:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Dec 2009 13:45:41 +0000 (13:45 +0000)
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

index ac3164e262c9266ba9163e6342d6d08734103f7d..8803ff2546ad2d81a359c65527d43beb3b7fadf7 100644 (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}
 */