From 32411dece03b7559b6e0cae92bc00c15e11e232c Mon Sep 17 00:00:00 2001 From: Thamatip Chitpong Date: Thu, 3 Aug 2023 12:57:17 +0700 Subject: [PATCH] [SHELL32] Fix taskbar large icon for control panel applets Addendum to 0e8cf6f (#5465). CORE-11698 --- dll/win32/shell32/wine/control.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dll/win32/shell32/wine/control.c b/dll/win32/shell32/wine/control.c index 7485efcf261..82768d2971c 100644 --- a/dll/win32/shell32/wine/control.c +++ b/dll/win32/shell32/wine/control.c @@ -815,6 +815,12 @@ Control_ShowAppletInTaskbar(CPlApplet* applet, UINT index) SetWindowTextW(applet->hWnd, applet->info[index].name); + /* Set large icon for the taskbar button */ + if (applet->info[index].icon) + { + SendMessageW(applet->hWnd, WM_SETICON, ICON_BIG, (LPARAM)applet->info[index].icon); + } + /* Try loading the small icon for the taskbar button */ hSmallIcon = (HICON)LoadImageW(applet->hModule, MAKEINTRESOURCEW(applet->info[index].idIcon),