OSX specific: The Command short keys over the 3D scene toolbars

are now shown with the OSX "Command" symbols, not as "Ctrl+"
This commit is contained in:
bubnikv 2019-02-03 11:10:25 +01:00
parent a56f7d60e5
commit f050d91239
5 changed files with 36 additions and 13 deletions

View file

@ -75,6 +75,30 @@ void break_to_debugger()
#endif /* _WIN32 */
}
const std::string& shortkey_ctrl_prefix()
{
static const std::string str =
#ifdef __APPLE__
""
#else
"Ctrl+"
#endif
;
return str;
}
const std::string& shortkey_alt_prefix()
{
static const std::string str =
#ifdef __APPLE__
""
#else
"Alt+"
#endif
;
return str;
}
bool config_wizard_startup(bool app_config_exists)
{
if (!app_config_exists || wxGetApp().preset_bundle->printers.size() <= 1) {