https://git.reactos.org/?p=reactos.git;a=commitdiff;h=32411dece03b7559b6e0c…
commit 32411dece03b7559b6e0cae92bc00c15e11e232c
Author: Thamatip Chitpong <thamatip.chitpong(a)reactos.org>
AuthorDate: Thu Aug 3 12:57:17 2023 +0700
Commit: Thamatip Chitpong <thamatip.chitpong(a)reactos.org>
CommitDate: Thu Aug 3 16:43:08 2023 +0700
[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),