X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3519d946766951cb946803f1eb763da62b0c5f8f..96339a78f24abf0a7b346c6ddce59e8a62165911:/src/msw/menu.cpp diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 37d22056e1..d35d87d83d 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -646,7 +646,7 @@ bool wxMenu::MSWCommand(WXUINT WXUNUSED(param), WXWORD id) if ( id != (WXWORD)idMenuTitle ) { // get the checked status of the command: notice that menuState is the - // old state of the menu, so the test for MF_CHECKED must be inversed + // old state of the menu, so the test for MF_CHECKED must be inverted UINT menuState = ::GetMenuState(GetHmenu(), id, MF_BYCOMMAND); SendEvent(id, !(menuState & MF_CHECKED)); }