projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c8f286
)
silence a bogus error message
author
Robin Dunn
<robin@alldunn.com>
Sun, 25 Apr 2004 00:43:20 +0000
(
00:43
+0000)
committer
Robin Dunn
<robin@alldunn.com>
Sun, 25 Apr 2004 00:43:20 +0000
(
00:43
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26943
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/menuitem.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/menuitem.cpp
b/src/msw/menuitem.cpp
index 957d0affb1e293e49bfbfa5999b603d39d15e193..2acfe24a1b4e805619193ecf85f0a96ac25ebdbd 100644
(file)
--- a/
src/msw/menuitem.cpp
+++ b/
src/msw/menuitem.cpp
@@
-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
{