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:
Vadim Zeitlin 2023-07-24 14:02:58 +02:00
parent d6dd0ebb6e
commit 484c98ffb2

View file

@ -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; \