projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e27ebad
)
make sure we are comparing the stripped strings
author
Stefan Csomor
<csomor@advancedconcepts.ch>
Thu, 8 Apr 2004 12:24:41 +0000
(12:24 +0000)
committer
Stefan Csomor
<csomor@advancedconcepts.ch>
Thu, 8 Apr 2004 12:24:41 +0000
(12:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26674
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/mac/carbon/menu.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/mac/carbon/menu.cpp
b/src/mac/carbon/menu.cpp
index a9da1209604419a2f739aaa562c3bbbb032789f8..949b269e00fc8339e8c1e237755bc3a224ef2f6c 100644
(file)
--- a/
src/mac/carbon/menu.cpp
+++ b/
src/mac/carbon/menu.cpp
@@
-867,7
+867,7
@@
int wxMenuBar::FindMenuItem(const wxString& menuString,
for ( size_t i = 0; i < count; i++ )
{
wxString title = wxStripMenuCodes(m_titles[i]);
for ( size_t i = 0; i < count; i++ )
{
wxString title = wxStripMenuCodes(m_titles[i]);
- if ( menu
String
== title )
+ if ( menu
Label
== title )
return m_menus[i]->FindItem(itemString);
}
return m_menus[i]->FindItem(itemString);
}