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
This commit is contained in:
Julian Smart
2007-08-13 15:32:08 +00:00
parent 9c895994db
commit c4e43bea7b

View File

@@ -848,7 +848,7 @@ void wxMenuBarBase::SetLabelTop(size_t pos, const wxString& label)
wxString wxMenuBarBase::GetLabelTop(size_t pos) const wxString wxMenuBarBase::GetLabelTop(size_t pos) const
{ {
return GetMenuLabel(pos); return GetMenuLabelText(pos);
} }
#endif #endif