X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e4ac1a0689c4590c06122648e6f26f9a5988b0a..434e29032fdbff103182aa97bb66af48332f9dc8:/include/wx/menuitem.h diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 903a78c25a..bc9d0bee0f 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -26,9 +26,9 @@ // forward declarations // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxAcceleratorEntry; -class WXDLLEXPORT wxMenuItem; -class WXDLLEXPORT wxMenu; +class WXDLLIMPEXP_FWD_CORE wxAcceleratorEntry; +class WXDLLIMPEXP_FWD_CORE wxMenuItem; +class WXDLLIMPEXP_FWD_CORE wxMenu; // ---------------------------------------------------------------------------- // wxMenuItem is an item in the menu which may be either a normal item, a sub @@ -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