X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b59cdbfaf7df79499424c92ff6177736429ff8a..5c1bfc5da0e4a79803c87747371bcccb377899e0:/src/msw/menuitem.cpp?ds=sidebyside diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index 1c0fa7137a..f64f57eb17 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -144,7 +144,7 @@ bool wxMenuItem::IsChecked() const /* static */ wxString wxMenuItemBase::GetLabelFromText(const wxString& text) { - return wxStripMenuCodes(m_text); + return wxStripMenuCodes(text); } // accelerators