X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b73e73f912a51b8be582b8bc987bb47fb5fc543a..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/os2/menuitem.h?ds=sidebyside diff --git a/include/wx/os2/menuitem.h b/include/wx/os2/menuitem.h index 1e9d1d89b8..f1ec069468 100644 --- a/include/wx/os2/menuitem.h +++ b/include/wx/os2/menuitem.h @@ -17,6 +17,7 @@ // ---------------------------------------------------------------------------- #include "wx/defs.h" +#include "wx/os2/private.h" // for MENUITEM // an exception to the general rule that a normal header doesn't include other // headers - only because ownerdrw.h is not always included and I don't want @@ -32,7 +33,7 @@ // ---------------------------------------------------------------------------- // wxMenuItem: an item in the menu, optionally implements owner-drawn behaviour // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxMenuItem: public wxMenuItemBase +class WXDLLIMPEXP_CORE wxMenuItem: public wxMenuItemBase #if wxUSE_OWNER_DRAWN , public wxOwnerDrawn #endif @@ -64,7 +65,7 @@ public: // // Override base class virtuals // - virtual void SetText(const wxString& rStrName); + virtual void SetItemLabel(const wxString& rStrName); virtual void SetCheckable(bool bCheckable); virtual void Enable(bool bDoEnable = true);