X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/001f1f56787a37b086f2bff452c5b47166064bcb..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/interface/wx/debug.h?ds=inline diff --git a/interface/wx/debug.h b/interface/wx/debug.h index d805f21e52..2c03d20a45 100644 --- a/interface/wx/debug.h +++ b/interface/wx/debug.h @@ -3,12 +3,23 @@ // Purpose: interface of global functions // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @addtogroup group_funcmacro_debug */ //@{ +/** + Exits the program immediately. + + This is a simple wrapper for the standard abort() function which is not + available under all platforms (currently only Windows CE doesn't provide + it). + + @since 2.9.4 + */ +void wxAbort(); + /** @def wxDEBUG_LEVEL @@ -249,10 +260,10 @@ void wxDisableAsserts(); @def wxDISABLE_ASSERTS_IN_RELEASE_BUILD Use this macro to disable asserts in release build when not using - IMPLEMENT_APP(). + wxIMPLEMENT_APP(). By default, assert message boxes are suppressed in release build by - IMPLEMENT_APP() which uses this macro. If you don't use IMPLEMENT_APP() + wxIMPLEMENT_APP() which uses this macro. If you don't use wxIMPLEMENT_APP() because your application initializes wxWidgets directly (e.g. calls wxEntry() or wxEntryStart() itself) but still want to suppress assert notifications in release build you need to use this macro directly.