From f0585b3e81a1a0a9cfde43313cadf0ee72daad27 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 10 Sep 2022 06:34:06 -0700 Subject: oops... --- plugins/TabSRMM/src/warning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/warning.cpp') diff --git a/plugins/TabSRMM/src/warning.cpp b/plugins/TabSRMM/src/warning.cpp index 0c09468c68..c5bf30736f 100644 --- a/plugins/TabSRMM/src/warning.cpp +++ b/plugins/TabSRMM/src/warning.cpp @@ -128,7 +128,7 @@ public: HICON hIcon; if (uResId) - hIcon = reinterpret_cast(::LoadImage(nullptr, MAKEINTRESOURCE(uResId), IMAGE_ICON, 0, 0, LR_SHARED)); + hIcon = reinterpret_cast(::LoadImage(nullptr, MAKEINTRESOURCE(uResId), IMAGE_ICON, 0, 0, LR_SHARED | LR_DEFAULTSIZE)); else hIcon = ::Skin_LoadIcon(SKINICON_EVENT_MESSAGE, true); ::SendDlgItemMessageW(hwnd, IDC_WARNICON, STM_SETICON, reinterpret_cast(hIcon), 0); -- cgit v1.2.3