]> git.saurik.com Git - wxWidgets.git/commitdiff
GetLabelTop should return the stripped label, for compatibility.
authorJulian Smart <julian@anthemion.co.uk>
Mon, 13 Aug 2007 15:32:08 +0000 (15:32 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 13 Aug 2007 15:32:08 +0000 (15:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/menucmn.cpp

index fa0bfec3d72499d42a46bdcbe3455099e9decc3a..edceb72cc52c0e9a4e5819276ef2f508f6ddde59 100644 (file)
@@ -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