X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ded703ddca4c6657625af80afa66a2dddd13dae..cc6dd35581586950ebcf7ef4493166001ec5a645:/src/cocoa/frame.mm diff --git a/src/cocoa/frame.mm b/src/cocoa/frame.mm index b37aaa181f..9e529f1187 100644 --- a/src/cocoa/frame.mm +++ b/src/cocoa/frame.mm @@ -59,13 +59,13 @@ wxFrame::~wxFrame() void wxFrame::AttachMenuBar(wxMenuBar *mbar) { wxFrameBase::AttachMenuBar(mbar); - wxMenuBarManager::GetInstance()->UpdateWindowMenuBar(this); + wxMenuBarManager::GetInstance()->UpdateMenuBar(); } void wxFrame::DetachMenuBar() { wxFrameBase::DetachMenuBar(); - wxMenuBarManager::GetInstance()->UpdateWindowMenuBar(this); + wxMenuBarManager::GetInstance()->UpdateMenuBar(); } void wxFrame::SetMenuBar(wxMenuBar *menubar) @@ -78,7 +78,7 @@ void wxFrame::SetMenuBar(wxMenuBar *menubar) wxFrameBase::DetachMenuBar(); wxFrameBase::AttachMenuBar(menubar); - wxMenuBarManager::GetInstance()->UpdateWindowMenuBar(this); + wxMenuBarManager::GetInstance()->UpdateMenuBar(); } wxMenuBar* wxFrame::GetAppMenuBar(wxCocoaNSWindow *win)