X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b73e73f912a51b8be582b8bc987bb47fb5fc543a..c24fd8883fd563b85477fd71b70a52f34eebdd3e:/include/wx/mac/carbon/menuitem.h?ds=sidebyside diff --git a/include/wx/mac/carbon/menuitem.h b/include/wx/mac/carbon/menuitem.h index 17e5362089..cae5583583 100644 --- a/include/wx/mac/carbon/menuitem.h +++ b/include/wx/mac/carbon/menuitem.h @@ -17,11 +17,12 @@ // ---------------------------------------------------------------------------- #include "wx/defs.h" +#include "wx/bitmap.h" // ---------------------------------------------------------------------------- // wxMenuItem: an item in the menu, optionally implements owner-drawn behaviour // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxMenuItem: public wxMenuItemBase +class WXDLLIMPEXP_CORE wxMenuItem: public wxMenuItemBase { public: // ctor & dtor @@ -34,7 +35,7 @@ public: virtual ~wxMenuItem(); // override base class virtuals - virtual void SetText(const wxString& strName); + virtual void SetItemLabel(const wxString& strName); virtual void Enable(bool bDoEnable = true); virtual void Check(bool bDoCheck = true); @@ -53,6 +54,8 @@ public: void SetRadioGroupEnd(int end); private: + void DoUpdateItemBitmap( WXHMENU menu, wxUint16 index) ; + void UncheckRadio() ; // the positions of the first and last items of the radio group this item