is destroyed it doesn't resign key or main status.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23434
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxMenuBarManager::WindowDidBecomeKey(wxTopLevelWindowNative *win)
{
- wxASSERT(!m_windowKey);
+// wxASSERT(!m_windowKey);
m_windowKey = win;
InstallMenuBarForWindow(win);
}
void wxMenuBarManager::WindowDidBecomeMain(wxTopLevelWindowNative *win)
{
- wxASSERT(!m_windowMain);
+// wxASSERT(!m_windowMain);
m_windowMain = win;
}