Skip to content

Commit

Permalink
Remove Windows 7 (NT 6.1) detection
Browse files Browse the repository at this point in the history
  • Loading branch information
0tkl authored and arch1t3cht committed Jan 5, 2025
1 parent 1b2dd29 commit 229a81c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dialog_progress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 229a81c

Please sign in to comment.