Avoid double quoting assert message conditions
wxFAIL_COND_MSG_AT() macro was already passed a quoted string, there is no need to quote it again.
This commit is contained in:
parent
d6dd0ebb6e
commit
484c98ffb2
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ extern WXDLLIMPEXP_BASE void wxOnAssert(const char *file,
|
|||
#define wxFAIL_COND_MSG_AT(cond, msg, file, line, func) \
|
||||
wxSTATEMENT_MACRO_BEGIN \
|
||||
if ( wxTheAssertHandler && \
|
||||
(wxOnAssert(file, line, func, #cond, msg), \
|
||||
(wxOnAssert(file, line, func, cond, msg), \
|
||||
wxTrapInAssert) ) \
|
||||
{ \
|
||||
wxTrapInAssert = false; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue