mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-19 02:42:23 +08:00
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.