X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/affd2611c569d9d8e60fa542614f6668956b16de..8da1f9a99ee0ff9493cc7845ec13100cdeac431c:/src/mac/carbon/menuitem.cpp?ds=sidebyside diff --git a/src/mac/carbon/menuitem.cpp b/src/mac/carbon/menuitem.cpp index f3c4f869ee..fee72b9b91 100644 --- a/src/mac/carbon/menuitem.cpp +++ b/src/mac/carbon/menuitem.cpp @@ -156,7 +156,13 @@ void wxMenuItem::UpdateItemText() void wxMenuItem::Enable(bool bDoEnable) { - if ( m_isEnabled != bDoEnable ) + if ( m_isEnabled != bDoEnable +#if TARGET_CARBON + || GetId() == wxApp::s_macPreferencesMenuItemId + || GetId() == wxApp::s_macExitMenuItemId + || GetId() == wxApp::s_macAboutMenuItemId +#endif + ) { wxMenuItemBase::Enable( bDoEnable ) ; UpdateItemStatus() ;