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:
parent
0c8f286073
commit
ea16d35127
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user