Send all menu item actions to a dedicated target. This is to ensure

the actions always make it to the proper wxFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-08-28 17:49:51 +00:00
parent 0ff1f245a9
commit 2fc2d511d0
9 changed files with 39 additions and 33 deletions

View File

@@ -52,6 +52,7 @@ public:
protected:
WX_NSMenuItem m_cocoaNSMenuItem;
static wxMenuItemCocoaHash sm_cocoaHash;
static struct objc_object *sm_cocoaTarget;
// ------------------------------------------------------------------------
// Implementation
// ------------------------------------------------------------------------