Added changes for building on Catalina

This commit is contained in:
guy
2020-06-15 00:23:33 -04:00
parent 0fc9480586
commit 516f36a9d2
3 changed files with 26 additions and 2 deletions
+5 -1
View File
@@ -131,11 +131,15 @@ void check_updates() {
check_updates_now();
} else if (settings.check_updates == CHECK_IF_CONNECTED) {
// only if internet connection exists
wxDialUpManager* dum = wxDialUpManager::Create();
#if wxUSE_DIALUP_MANAGER
wxDialUpManager* dum = wxDialUpManager::Create();
if (dum->IsOk() && dum->IsOnline()) {
check_updates_now();
}
delete dum;
#else
check_updates_now();
#endif
}
}