class WXDLLEXPORT wxMenuBar;
+DECLARE_WXCOCOA_OBJC_CLASS(NSMenuItem);
DECLARE_WXCOCOA_OBJC_CLASS(wxNSWindowDelegate);
class wxCocoaNSWindow
virtual void CocoaDelegate_windowDidResignKey(void) { }
virtual void CocoaDelegate_windowDidBecomeMain(void) { }
virtual void CocoaDelegate_windowDidResignMain(void) { }
- virtual void CocoaDelegate_wxMenuItemAction(struct objc_object *sender) = 0;
- virtual bool CocoaDelegate_validateMenuItem(struct objc_object *sender) = 0;
+ virtual void CocoaDelegate_wxMenuItemAction(WX_NSMenuItem menuItem) = 0;
+ virtual bool CocoaDelegate_validateMenuItem(WX_NSMenuItem menuItem) = 0;
virtual wxMenuBar* GetAppMenuBar(wxCocoaNSWindow *win);
protected:
wxCocoaNSWindow();