Remove wxOSX/Carbon support.
Cocoa has been the default toolkit in wxWidgets for a long time. There is really no good reason to use Carbon in 2016 and this removes a lot of unused and unmaintained code.
This commit is contained in:
@@ -80,9 +80,6 @@ void wxMenuItem::Enable(bool bDoEnable)
|
||||
// avoid changing menuitem state when menu is disabled
|
||||
// eg. BeginAppModalStateForWindow() will disable menus and ignore this change
|
||||
// which in turn causes m_isEnabled to become out of sync with real menuitem state
|
||||
#if wxOSX_USE_CARBON
|
||||
&& !(m_parentMenu && !IsMenuItemEnabled(MAC_WXHMENU(m_parentMenu->GetHMenu()), 0))
|
||||
#endif
|
||||
)
|
||||
// always update builtin menuitems
|
||||
|| ( GetId() == wxApp::s_macPreferencesMenuItemId
|
||||
|
Reference in New Issue
Block a user