From 808260ec3235941ec45f50baca8dbf3655498f24 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 11 Aug 2007 18:02:36 +0000 Subject: [PATCH] Small fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/menuitem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 75b2dcff3d..55a6a3172f 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -175,7 +175,7 @@ inline void wxMenuItemBase::SetName(const wxString &str) inline wxString wxMenuItemBase::GetName() const { return GetItemLabel(); } inline wxString wxMenuItemBase::GetLabel() const - { return GetLabelFromText(m_text); } + { return GetLabelText(m_text); } inline const wxString& wxMenuItemBase::GetText() const { return m_text; } inline void wxMenuItemBase::SetText(const wxString& text) { SetItemLabel(text); } #endif // WXWIN_COMPATIBILITY_2_8 -- 2.45.2