From 229a81cd790a0b08b3904959496cab80638a7ecc Mon Sep 17 00:00:00 2001 From: 0tkl <118708188+0tkl@users.noreply.github.com> Date: Sun, 5 Jan 2025 20:39:24 +0800 Subject: [PATCH] Remove Windows 7 (NT 6.1) detection --- src/dialog_progress.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/dialog_progress.cpp b/src/dialog_progress.cpp index 0679e4ba8c..8377c44fea 100644 --- a/src/dialog_progress.cpp +++ b/src/dialog_progress.cpp @@ -42,10 +42,6 @@ using agi::dispatch::Main; namespace { void set_taskbar_progress(int progress) { #ifdef _MSC_VER - int major, minor; - wxGetOsVersion(&major, &minor); - if (major < 6 || (major == 6 && minor < 1)) return; - ITaskbarList3 *taskbar; auto hr = ::CoCreateInstance(CLSID_TaskbarList, NULL, CLSCTX_INPROC_SERVER, __uuidof(ITaskbarList3), (LPVOID *)&taskbar);