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)
wxFrameBase::DetachMenuBar();
wxFrameBase::AttachMenuBar(menubar);
- wxMenuBarManager::GetInstance()->UpdateWindowMenuBar(this);
+ wxMenuBarManager::GetInstance()->UpdateMenuBar();
}
wxMenuBar* wxFrame::GetAppMenuBar(wxCocoaNSWindow *win)