X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2fc2d511d0f095ab5de3713cff6042832f886d15..538f3830191e25eaf0edb0a379e08d4f85ee49bc:/include/wx/cocoa/menuitem.h?ds=sidebyside diff --git a/include/wx/cocoa/menuitem.h b/include/wx/cocoa/menuitem.h index 75e66b1d4c..d5ba585ac6 100644 --- a/include/wx/cocoa/menuitem.h +++ b/include/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 // ------------------------------------------------------------------------