]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
Changed order of #ifdefs to get native version on OS/2, even if
[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