projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f607434
)
don't return & in strings returned by GetLabelTop() (closes 687905)
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 21 Sep 2003 15:22:15 +0000
(15:22 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 21 Sep 2003 15:22:15 +0000
(15:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23775
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/menu.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/menu.cpp
b/src/msw/menu.cpp
index 531da9c57eee3890ff8e397b9214c3cc1642d774..30e097fa4749288b4b32e2de705dd8c37a143cd4 100644
(file)
--- a/
src/msw/menu.cpp
+++ b/
src/msw/menu.cpp
@@
-888,7
+888,7
@@
wxString wxMenuBar::GetLabelTop(size_t pos) const
wxCHECK_MSG( pos < GetMenuCount(), wxEmptyString,
wxT("invalid menu index in wxMenuBar::GetLabelTop") );
- return
m_titles[pos]
;
+ return
wxMenuItem::GetLabelFromText(m_titles[pos])
;
}
// ---------------------------------------------------------------------------