Small fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
52af3158e9
commit
808260ec32
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user