From a381cfaa2d2194680bb8cf8a5dbe1b7aae00da07 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Thu, 6 Nov 2003 20:04:24 +0000 Subject: [PATCH] Don't pass notifications to wxMenuBarManager. It will be getting its own. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/cocoa/toplevel.mm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cocoa/toplevel.mm b/src/cocoa/toplevel.mm index 5bcd9a84d8..121c6ffdba 100644 --- a/src/cocoa/toplevel.mm +++ b/src/cocoa/toplevel.mm @@ -167,7 +167,6 @@ void wxTopLevelWindowCocoa::CocoaReplaceView(WX_NSView oldView, WX_NSView newVie void wxTopLevelWindowCocoa::CocoaDelegate_windowDidBecomeKey(void) { wxLogDebug("wxTopLevelWindowCocoa=%p::CocoaDelegate_windowDidBecomeKey",this); - wxMenuBarManager::GetInstance()->WindowDidBecomeKey(this); wxActivateEvent event(wxEVT_ACTIVATE, TRUE, GetId()); event.SetEventObject(this); GetEventHandler()->ProcessEvent(event); @@ -179,19 +178,16 @@ void wxTopLevelWindowCocoa::CocoaDelegate_windowDidResignKey(void) wxActivateEvent event(wxEVT_ACTIVATE, FALSE, GetId()); event.SetEventObject(this); GetEventHandler()->ProcessEvent(event); - wxMenuBarManager::GetInstance()->WindowDidResignKey(this); } void wxTopLevelWindowCocoa::CocoaDelegate_windowDidBecomeMain(void) { wxLogDebug("wxTopLevelWindowCocoa=%p::CocoaDelegate_windowDidBecomeMain",this); - wxMenuBarManager::GetInstance()->WindowDidBecomeMain(this); } void wxTopLevelWindowCocoa::CocoaDelegate_windowDidResignMain(void) { wxLogDebug("wxTopLevelWindowCocoa=%p::CocoaDelegate_windowDidResignMain",this); - wxMenuBarManager::GetInstance()->WindowDidResignMain(this); } void wxTopLevelWindowCocoa::CocoaDelegate_windowWillClose(void) -- 2.47.2