diff --git a/reactos/subsys/system/explorer/taskbar/taskbar.cpp b/reactos/subsys/system/explorer/taskbar/taskbar.cpp index 5a295a8b7c6..9f3496c8fe4 100644 --- a/reactos/subsys/system/explorer/taskbar/taskbar.cpp +++ b/reactos/subsys/system/explorer/taskbar/taskbar.cpp @@ -199,7 +199,12 @@ HBITMAP create_bitmap_from_icon(HICON hIcon, HBRUSH hbrush_bkgnd, HDC hdc_wnd) HDC hdc = CreateCompatibleDC(0); HBITMAP hbmp_org = SelectBitmap(hdc, hbmp); - DrawIconEx(hdc, 0, 0, hIcon, 16, 16, 0, hbrush_bkgnd, DI_IMAGE); + + RECT rect = {0, 0, 16, 16}; + FillRect(hdc, &rect, hbrush_bkgnd); + + DrawIconEx(hdc, 0, 0, hIcon, 16, 16, 0, hbrush_bkgnd, DI_NORMAL); + SelectBitmap(hdc, hbmp_org); DeleteDC(hdc);