]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix bug in GetLableFromText
authorBart A.M. Jourquin <bart.jourquin@fucam.ac.be>
Tue, 11 Jan 2000 16:26:44 +0000 (16:26 +0000)
committerBart A.M. Jourquin <bart.jourquin@fucam.ac.be>
Tue, 11 Jan 2000 16:26:44 +0000 (16:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/menuitem.cpp

index 1c0fa7137aa91451c64b2d4db0181094de9d63da..f64f57eb17149c072396c6eb5dcea324c5e0de59 100644 (file)
@@ -144,7 +144,7 @@ bool wxMenuItem::IsChecked() const
 /* static */
 wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
 {
-    return wxStripMenuCodes(m_text);
+    return wxStripMenuCodes(text);
 }
 
 // accelerators