remove const from by-value return type, it's useless

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2010-11-17 05:57:21 +00:00
parent a302a5ca58
commit 96a3acb72c
4 changed files with 4 additions and 4 deletions

View File

@ -79,7 +79,7 @@ public:
wxLayoutDirection GetLayoutDirection() const;
// Returns the title, with mnemonics translated to wx format
const wxString GetTitle() const;
wxString GetTitle() const;
// TODO: virtual void SetTitle(const wxString& title);

View File

@ -74,7 +74,7 @@ public:
virtual wxMenuItem* DoRemove(wxMenuItem *item);
// Returns the title, with mnemonics translated to wx format
const wxString GetTitle() const;
wxString GetTitle() const;
// TODO: virtual void SetTitle(const wxString& title);

View File

@ -747,7 +747,7 @@ wxLayoutDirection wxMenu::GetLayoutDirection() const
return wxWindow::GTKGetLayout(m_owner);
}
const wxString wxMenu::GetTitle() const
wxString wxMenu::GetTitle() const
{
return wxConvertMnemonicsFromGTK(wxMenuBase::GetTitle());
}

View File

@ -964,7 +964,7 @@ wxMenu::~wxMenu()
}
}
const wxString wxMenu::GetTitle() const
wxString wxMenu::GetTitle() const
{
return wxConvertMnemonicsFromGTK(wxMenuBase::GetTitle());
}