silence a bogus error message

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-04-25 00:43:20 +00:00
parent 0c8f286073
commit ea16d35127

View File

@ -361,7 +361,8 @@ void wxMenuItem::SetText(const wxString& text)
UINT flagsOld = ::GetMenuState(hMenu, id, MF_BYCOMMAND);
if ( flagsOld == 0xFFFFFFFF )
{
wxLogLastError(wxT("GetMenuState"));
// It's not an error, it means that the menu item doesn't exist
//wxLogLastError(wxT("GetMenuState"));
}
else
{