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:
parent
a302a5ca58
commit
96a3acb72c
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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());
|
||||
}
|
||||
|
@ -964,7 +964,7 @@ wxMenu::~wxMenu()
|
||||
}
|
||||
}
|
||||
|
||||
const wxString wxMenu::GetTitle() const
|
||||
wxString wxMenu::GetTitle() const
|
||||
{
|
||||
return wxConvertMnemonicsFromGTK(wxMenuBase::GetTitle());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user