diff --git a/src/mac/carbon/frame.cpp b/src/mac/carbon/frame.cpp index b4da3e565f..ad625088a0 100644 --- a/src/mac/carbon/frame.cpp +++ b/src/mac/carbon/frame.cpp @@ -105,7 +105,9 @@ bool wxFrame::Enable(bool enable) if ( !wxWindow::Enable(enable) ) return false; - if ( m_frameMenuBar && m_frameMenuBar == wxMenuBar::MacGetInstalledMenuBar() ) + // we should always enable/disable the menubar, even if we are not current, otherwise + // we might miss some state change later (happened eg in the docview sample after PrintPreview) + if ( m_frameMenuBar /* && m_frameMenuBar == wxMenuBar::MacGetInstalledMenuBar() */ ) { int iMaxMenu = m_frameMenuBar->GetMenuCount(); for ( int i = 0 ; i < iMaxMenu ; ++ i )