Add virtual wxMenuBar* GetAppMenuBar();
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
protected:
|
||||
static struct objc_object *sm_cocoaDelegate;
|
||||
};
|
||||
|
@@ -124,6 +124,11 @@ void wxCocoaNSWindow::DisassociateNSWindow(WX_NSWindow cocoaNSWindow)
|
||||
}
|
||||
}
|
||||
|
||||
wxMenuBar* wxCocoaNSWindow::GetAppMenuBar()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// @class wxPoserNSWindow
|
||||
// ============================================================================
|
||||
|
Reference in New Issue
Block a user