From c4e43bea7b24f7b7f58e3f87786490cd81abf0a7 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 13 Aug 2007 15:32:08 +0000 Subject: [PATCH] GetLabelTop should return the stripped label, for compatibility. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/menucmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/menucmn.cpp b/src/common/menucmn.cpp index fa0bfec3d7..edceb72cc5 100644 --- a/src/common/menucmn.cpp +++ b/src/common/menucmn.cpp @@ -848,7 +848,7 @@ void wxMenuBarBase::SetLabelTop(size_t pos, const wxString& label) wxString wxMenuBarBase::GetLabelTop(size_t pos) const { - return GetMenuLabel(pos); + return GetMenuLabelText(pos); } #endif -- 2.47.2