// Created: 2002/12/13
// RCS-ID: $Id:
// Copyright: (c) 2002 David Elliott
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_MENUITEM_H_
#include "wx/hashmap.h"
#include "wx/bitmap.h"
+#include "wx/cocoa/ObjcRef.h"
+
// ========================================================================
// wxMenuItem
// ========================================================================
return iter->second;
return NULL;
}
+ void CocoaItemSelected();
+ bool Cocoa_validateMenuItem();
protected:
+ void CocoaSetKeyEquivalent();
WX_NSMenuItem m_cocoaNSMenuItem;
static wxMenuItemCocoaHash sm_cocoaHash;
- static struct objc_object *sm_cocoaTarget;
+ static wxObjcAutoRefFromAlloc<struct objc_object *> sm_cocoaTarget;
// ------------------------------------------------------------------------
// Implementation
// ------------------------------------------------------------------------