]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menuitem.h
added wxGetX11Display() returning the pointer of the correct type, unlike the old...
[wxWidgets.git] / include / wx / menuitem.h
index 69e26570b8959ab6d8c8999a705ec032d30f988d..23429ed8a2adc47a762bcc856a717adc0342edd7 100644 (file)
@@ -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