]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
ActiveX events should be sent to the window, not it's parent.
[wxWidgets.git] / src / msw / menuitem.cpp
index 957d0affb1e293e49bfbfa5999b603d39d15e193..2acfe24a1b4e805619193ecf85f0a96ac25ebdbd 100644 (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
     {