Added CocoaSetKeyEquivalent() that sets the accelerators. Only implemented

for letters, numbers, and ascii control characters. TODO: up/down/etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2004-10-20 19:18:46 +00:00
parent c87beb79f2
commit 1e85b547a5
2 changed files with 42 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ public:
void CocoaItemSelected();
bool Cocoa_validateMenuItem();
protected:
void CocoaSetKeyEquivalent();
WX_NSMenuItem m_cocoaNSMenuItem;
static wxMenuItemCocoaHash sm_cocoaHash;
static wxObjcAutoRefFromAlloc<struct objc_object *> sm_cocoaTarget;