]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menuitem.h
Use child's listmodelnotifier's destructor (by overloading
[wxWidgets.git] / include / wx / menuitem.h
index 903a78c25a9045bfad33ca83191e1f3add49e47b..23429ed8a2adc47a762bcc856a717adc0342edd7 100644 (file)
@@ -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