X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..34a34b020f1c8defacb299a0fa5c480fa65b8597:/include/wx/cocoa/menuitem.h diff --git a/include/wx/cocoa/menuitem.h b/include/wx/cocoa/menuitem.h index b312bc7489..d5ba585ac6 100644 --- a/include/wx/cocoa/menuitem.h +++ b/include/wx/cocoa/menuitem.h @@ -6,7 +6,7 @@ // Created: 2002/12/13 // RCS-ID: $Id: // Copyright: (c) 2002 David Elliott -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_COCOA_MENUITEM_H_ @@ -15,6 +15,8 @@ #include "wx/hashmap.h" #include "wx/bitmap.h" +#include "wx/cocoa/ObjcRef.h" + // ======================================================================== // wxMenuItem // ======================================================================== @@ -49,10 +51,13 @@ public: 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 sm_cocoaTarget; // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------