From: Vadim Zeitlin Date: Sun, 22 Mar 2009 12:26:17 +0000 (+0000) Subject: correct wxASSERT_LEVEL_2 definition X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b16f24dd05b14835e5701aa4434747fe5f94169a correct wxASSERT_LEVEL_2 definition git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/debug.h b/include/wx/debug.h index 59b2d61d37..41ec9bbba2 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -276,8 +276,8 @@ extern void WXDLLIMPEXP_BASE wxOnAssert(const char *file, #define wxASSERT_LEVEL_2_MSG(cond, msg) wxASSERT_MSG(cond, msg) #define wxASSERT_LEVEL_2(cond) wxASSERT(cond) #else // wxDEBUG_LEVEL < 2 - #define wxASSERT_LEVEL_2_MSG - #define wxASSERT_LEVEL_2 + #define wxASSERT_LEVEL_2_MSG(cond, msg) + #define wxASSERT_LEVEL_2(cond) #endif