X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/268bec5aee1a39b1d69e2d149a071c7b7c3a15dc..a6fc611aa1fe1b5880e9e5489c5b5b3a25d61be9:/src/cocoa/mbarman.mm diff --git a/src/cocoa/mbarman.mm b/src/cocoa/mbarman.mm index e72220b1e4..b2b916054d 100644 --- a/src/cocoa/mbarman.mm +++ b/src/cocoa/mbarman.mm @@ -161,7 +161,7 @@ void wxMenuBarManager::InstallMainMenu() void wxMenuBarManager::WindowDidBecomeKey(wxTopLevelWindowNative *win) { - wxASSERT(!m_windowKey); +// wxASSERT(!m_windowKey); m_windowKey = win; InstallMenuBarForWindow(win); } @@ -175,7 +175,7 @@ void wxMenuBarManager::WindowDidResignKey(wxTopLevelWindowNative *win) void wxMenuBarManager::WindowDidBecomeMain(wxTopLevelWindowNative *win) { - wxASSERT(!m_windowMain); +// wxASSERT(!m_windowMain); m_windowMain = win; }