X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e4ac1a0689c4590c06122648e6f26f9a5988b0a..75ce4cb180dfbe5f6ee1ad6927929b43d04edcd1:/include/wx/menuitem.h 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