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

@@ -13,7 +13,6 @@
#define _WX_COCOA_FRAME_H_
class WXDLLEXPORT wxMenuBar;
class WXDLLEXPORT wxMenuItem;
class WXDLLEXPORT wxStatusBar;
class WXDLLEXPORT wxFrame: public wxFrameBase
@@ -52,7 +51,6 @@ protected:
// Cocoa specifics
// ------------------------------------------------------------------------
protected:
virtual void Cocoa_wxMenuItemAction(wxMenuItem& item);
virtual void CocoaSetWxWindowSize(int width, int height);
// Helper function to position status/tool bars