GetTitle needs to be a const method.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-09-17 15:31:18 +00:00
parent 5a23b3de1d
commit 465b35f3ca
2 changed files with 43 additions and 43 deletions

View File

@@ -140,7 +140,7 @@ public:
#endif // wxUSE_MENUS #endif // wxUSE_MENUS
virtual void SetTitle(const wxString& title); virtual void SetTitle(const wxString& title);
virtual wxString GetTitle(); virtual wxString GetTitle() const;
virtual void Activate(); virtual void Activate();

View File

@@ -527,7 +527,7 @@ void wxGenericMDIChildFrame::SetTitle(const wxString& title)
} }
} }
wxString wxGenericMDIChildFrame::GetTitle() wxString wxGenericMDIChildFrame::GetTitle() const
{ {
return m_Title; return m_Title;
} }