From: Vadim Zeitlin Date: Wed, 11 Apr 2007 11:53:40 +0000 (+0000) Subject: linking fix after the one before last commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/21324807f5dd02a91124bdc50cb350af88058018 linking fix after the one before last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 903a78c25a..23429ed8a2 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -151,9 +151,9 @@ private: }; #if WXWIN_COMPATIBILITY_2_8 -void wxMenuItemBase::SetName(const wxString &str) +inline void wxMenuItemBase::SetName(const wxString &str) { SetText(str); } -const wxString& wxMenuItemBase::GetName() const +inline const wxString& wxMenuItemBase::GetName() const { return GetText(); } #endif // WXWIN_COMPATIBILITY_2_8