Disable icons in menus by default on osx

This commit is contained in:
Simon Wells 2017-04-08 22:42:34 +12:00 committed by Wayne Stambaugh
parent b347443b95
commit 117faf898f
1 changed files with 5 additions and 0 deletions

View File

@ -604,7 +604,12 @@ void PGM_BASE::loadCommonSettings()
m_help_size.x = 500; m_help_size.x = 500;
m_help_size.y = 400; m_help_size.y = 400;
m_iconsScale = 1.0; m_iconsScale = 1.0;
#if defined( __WXMAC__ )
m_useIconsInMenus = false;
#else
m_useIconsInMenus = true; m_useIconsInMenus = true;
#endif
m_common_settings->Read( showEnvVarWarningDialog, &m_show_env_var_dialog ); m_common_settings->Read( showEnvVarWarningDialog, &m_show_env_var_dialog );
m_common_settings->Read( entryUseIconsInMenus, &m_useIconsInMenus, true ); m_common_settings->Read( entryUseIconsInMenus, &m_useIconsInMenus, true );