add version check

This commit is contained in:
SoftFever 2022-12-29 20:35:14 +08:00
parent 2266aa4d98
commit 9379ea1546
6 changed files with 111 additions and 6 deletions

View file

@ -1915,7 +1915,7 @@ static wxMenu* generate_help_menu()
// Check New Version
append_menu_item(helpMenu, wxID_ANY, _L("Check for Update"), _L("Check for Update"),
[](wxCommandEvent&) {
wxGetApp().check_new_version(true, 1);
wxGetApp().check_new_version_sf(true, 1);
}, "", nullptr, []() {
return true;
});