X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9692f42bc6c74ecc4bc4b8dc1b185894ed1b6cbf..12ac619f42b81420980aec14afc9433af6f911dc:/include/wx/cocoa/NSWindow.h?ds=sidebyside diff --git a/include/wx/cocoa/NSWindow.h b/include/wx/cocoa/NSWindow.h index b0c87c8f2b..3bf28f62e0 100644 --- a/include/wx/cocoa/NSWindow.h +++ b/include/wx/cocoa/NSWindow.h @@ -17,6 +17,8 @@ WX_DECLARE_OBJC_HASHMAP(NSWindow); +class WXDLLEXPORT wxMenuBar; + class wxCocoaNSWindow { /* NSWindow is a rather special case and requires some extra attention */ @@ -32,6 +34,7 @@ public: virtual void CocoaDelegate_windowDidResignKey(void) { } virtual void CocoaDelegate_windowDidBecomeMain(void) { } virtual void CocoaDelegate_windowDidResignMain(void) { } + virtual wxMenuBar* GetAppMenuBar(wxCocoaNSWindow *win); protected: static struct objc_object *sm_cocoaDelegate; };