diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 531da9c57e..30e097fa47 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -888,7 +888,7 @@ wxString wxMenuBar::GetLabelTop(size_t pos) const wxCHECK_MSG( pos < GetMenuCount(), wxEmptyString, wxT("invalid menu index in wxMenuBar::GetLabelTop") ); - return m_titles[pos]; + return wxMenuItem::GetLabelFromText(m_titles[pos]); } // ---------------------------------------------------------------------------