Lines Matching refs:pMenuBar
146 wxMenuBar *pMenuBar = GetMenuBar();
150 RemoveWindowMenu(pMenuBar);
157 AddWindowMenu(pMenuBar);
161 void wxAuiMDIParentFrame::SetMenuBar(wxMenuBar* pMenuBar)
167 AddWindowMenu(pMenuBar);
169 wxFrame::SetMenuBar(pMenuBar);
295 void wxAuiMDIParentFrame::RemoveWindowMenu(wxMenuBar* pMenuBar)
297 if (pMenuBar && m_pWindowMenu)
300 int pos = pMenuBar->FindMenu(_("&Window"));
304 wxASSERT(m_pWindowMenu == pMenuBar->GetMenu(pos));
305 pMenuBar->Remove(pos);
310 void wxAuiMDIParentFrame::AddWindowMenu(wxMenuBar *pMenuBar)
312 if (pMenuBar && m_pWindowMenu)
314 int pos = pMenuBar->FindMenu(wxGetStockLabel(wxID_HELP,wxSTOCK_NOFLAGS));
316 pMenuBar->Append(m_pWindowMenu, _("&Window"));
318 pMenuBar->Insert(pos, m_pWindowMenu, _("&Window"));