Integrated recent API-change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2000-01-23 17:54:14 +00:00
parent 545f9e3c7c
commit eca370a9cf
2 changed files with 2 additions and 3 deletions

View File

@@ -50,7 +50,6 @@ public:
// override base class virtuals // override base class virtuals
virtual void SetText(const wxString& strName); virtual void SetText(const wxString& strName);
virtual wxString GetLabel() const;
virtual void SetCheckable(bool checkable); virtual void SetCheckable(bool checkable);
virtual void Enable(bool bDoEnable = TRUE); virtual void Enable(bool bDoEnable = TRUE);

View File

@@ -137,9 +137,9 @@ bool wxMenuItem::IsChecked() const
return FALSE; return FALSE;
} }
wxString wxMenuItem::GetLabel() const wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
{ {
return wxStripMenuCodes(m_text); return wxStripMenuCodes(text);
} }
// accelerators // accelerators