From 4a3563c542e79cd825aa51d54da5cc6449f6d63a Mon Sep 17 00:00:00 2001 From: "Bart A.M. Jourquin" Date: Tue, 11 Jan 2000 16:26:44 +0000 Subject: [PATCH] Fix bug in GetLableFromText git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/menuitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2