X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4a980f4f57a4e7eea00c55cbb3d139f97d90c20..e4e83f385a58f00b1f97315ebd80f380d16ae472:/include/wx/menuitem.h?ds=sidebyside diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 69e26570b8..23429ed8a2 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -151,9 +151,9 @@ private: }; #if WXWIN_COMPATIBILITY_2_8 -void wxMenuItem::SetName(const wxString &str) +inline void wxMenuItemBase::SetName(const wxString &str) { SetText(str); } -const wxString& wxMenuItem::GetName() const +inline const wxString& wxMenuItemBase::GetName() const { return GetText(); } #endif // WXWIN_COMPATIBILITY_2_8