Small fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2007-08-11 18:02:36 +00:00
parent 52af3158e9
commit 808260ec32

View File

@ -175,7 +175,7 @@ inline void wxMenuItemBase::SetName(const wxString &str)
inline wxString wxMenuItemBase::GetName() const inline wxString wxMenuItemBase::GetName() const
{ return GetItemLabel(); } { return GetItemLabel(); }
inline wxString wxMenuItemBase::GetLabel() const inline wxString wxMenuItemBase::GetLabel() const
{ return GetLabelFromText(m_text); } { return GetLabelText(m_text); }
inline const wxString& wxMenuItemBase::GetText() const { return m_text; } inline const wxString& wxMenuItemBase::GetText() const { return m_text; }
inline void wxMenuItemBase::SetText(const wxString& text) { SetItemLabel(text); } inline void wxMenuItemBase::SetText(const wxString& text) { SetItemLabel(text); }
#endif // WXWIN_COMPATIBILITY_2_8 #endif // WXWIN_COMPATIBILITY_2_8