Using "!(cond)" inside wxASSERT macro expansion prevented both gcc and clang (although not MSVC) from giving -Wparentheses warnings if the assignment operator was accidentally used instead of the equality comparison operator. Change the macro definition to use the condition directly, without negating it, to let gcc/clang give the warning if appropriate.