X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fc3eebc017183cb8cc2c4400227d05b4eb16676..b04fcede8f8f29cbade858ff81247ffbdc482d27:/src/motif/menuitem.cpp diff --git a/src/motif/menuitem.cpp b/src/motif/menuitem.cpp index 2b57e57d6a..6ac3fba445 100644 --- a/src/motif/menuitem.cpp +++ b/src/motif/menuitem.cpp @@ -137,7 +137,7 @@ void wxMenuItem::Check(bool bDoCheck) } /* static */ -wxString wxMenuItemBase::GetLabelFromText(const wxString& text) +wxString wxMenuItemBase::GetLabelText(const wxString& text) { return wxStripMenuCodes(text); } @@ -308,7 +308,7 @@ void wxMenuItem::DestroyItem(bool full) } } -void wxMenuItem::SetText(const wxString& label) +void wxMenuItem::SetItemLabel(const wxString& label) { char mnem = wxFindMnemonic (label); wxString label2 = wxStripMenuCodes(label);