X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c740f49634629e47738ea73a199ea1a97640dc53..89c7e9622933c3ee7906c39bc3927a7d5616b94b:/include/wx/debug.h?ds=sidebyside diff --git a/include/wx/debug.h b/include/wx/debug.h index 816caa0324..99758d1f7a 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -65,9 +65,9 @@ #endif //WXDEBUG /// special form of assert: always triggers it (in debug mode) -#define wxFAIL wxASSERT(0) +#define wxFAIL wxASSERT(wxFalse) /// FAIL with some message -#define wxFAIL_MSG(msg) wxASSERT_MSG(0, msg) +#define wxFAIL_MSG(msg) wxASSERT_MSG(wxFalse, msg) //@} // NB: these macros work also in release mode!