]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menu.cpp
Assert fixes [ 1212949 ] Fix some asserts in wxMediaCtrl
[wxWidgets.git] / src / msw / menu.cpp
index 37d22056e1c8e76d9a193a35ae0d8209f12d972e..d35d87d83dd14d9a2d3e64b393d34186009ca346 100644 (file)
@@ -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));
     }