tabmdi menu fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -132,7 +132,7 @@ void wxTabMDIParentFrame::SetWindowMenu(wxMenu* pMenu)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxTabMDIParentFrame::SetMenuBar(wxMenuBar *pMenuBar)
|
void wxTabMDIParentFrame::SetMenuBar(wxMenuBar* pMenuBar)
|
||||||
{
|
{
|
||||||
// Remove the Window menu from the old menu bar
|
// Remove the Window menu from the old menu bar
|
||||||
RemoveWindowMenu(GetMenuBar());
|
RemoveWindowMenu(GetMenuBar());
|
||||||
@@ -154,7 +154,7 @@ void wxTabMDIParentFrame::SetChildMenuBar(wxTabMDIChildFrame* pChild)
|
|||||||
SetMenuBar(m_pMyMenuBar);
|
SetMenuBar(m_pMyMenuBar);
|
||||||
|
|
||||||
// Make sure we know our menu bar is in use
|
// Make sure we know our menu bar is in use
|
||||||
m_pMyMenuBar = NULL;
|
//m_pMyMenuBar = NULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user