Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user