]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
added align=justify support ; also removed relic: GetMaxLineWidth
[wxWidgets.git] / 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