]> git.saurik.com Git - wxWidgets.git/commitdiff
correct wxASSERT_LEVEL_2 definition
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Mar 2009 12:26:17 +0000 (12:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Mar 2009 12:26:17 +0000 (12:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/debug.h

index 59b2d61d37c8388849296cb6c6665c103b655605..41ec9bbba2e99689a1a97f1e57da221ab46a0589 100644 (file)
@@ -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