// ----------------------------------------------------------------------------
#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
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);
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