comctl32/trackbar: Always use brush from WM_CTLCOLORSTATIC to fill background.
commit179117a6892401e7ee7f988b5b00341c0981213b
authorZhiyi Zhang <zzhang@codeweavers.com>
Wed, 9 Feb 2022 08:44:53 +0000 (9 16:44 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 9 Feb 2022 17:37:32 +0000 (9 18:37 +0100)
treec21c18758edbbeed4795ca40448375c60babd548
parent5c901a04b3b5e69db8019fb75631de4b057fb217
comctl32/trackbar: Always use brush from WM_CTLCOLORSTATIC to fill background.

Fix the track bar of Mupen64-RR-Lua input window having black background. Mupen64-RR-Lua doesn't actually handle
WM_ERASEBKGND even though it returns nonzero. And tests show that only WM_CTLCOLORSTATIC is sent when drawing themed
trackbar background.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/comctl32/tests/misc.c
dlls/comctl32/trackbar.c