X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/671609917492b7c1d0ce514de625b3b3bb064d00..a64bba4eb514ccfc6712b1929644b1cd0de481c8:/samples/menu/menu.cpp diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index d1e20a7c32..121e74cf53 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -414,7 +414,7 @@ MyFrame::MyFrame() wxMenu* subMenu = new wxMenu; subMenu->Append(Menu_SubMenu_Normal, _T("&Normal submenu item"), _T("Disabled submenu item")); - subMenu->AppendCheckItem(Menu_SubMenu_Check, _T("&Unchecked submenu item"), _T("Unchecked submenu item")); + subMenu->AppendCheckItem(Menu_SubMenu_Check, _T("&Check submenu item"), _T("Check submenu item")); subMenu->AppendRadioItem(Menu_SubMenu_Radio1, _T("Radio item &1"), _T("Radio item")); subMenu->AppendRadioItem(Menu_SubMenu_Radio2, _T("Radio item &2"), _T("Radio item")); subMenu->AppendRadioItem(Menu_SubMenu_Radio3, _T("Radio item &3"), _T("Radio item")); @@ -994,7 +994,6 @@ void MyFrame::OnUpdateSubMenuNormal(wxUpdateUIEvent& event) void MyFrame::OnUpdateSubMenuCheck(wxUpdateUIEvent& event) { event.Enable(true); - event.Check(true); } void MyFrame::OnUpdateSubMenuRadio(wxUpdateUIEvent& event)