X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52af3158e974b042008474268570f3bdb7ce95ee..8c02d0f87a793fb4681971f09b636d2dea1f0827:/include/wx/menuitem.h 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