comctl32/button: Use themed painting when possible for handling WM_SETTEXT.
commit3c81ca838116bbe8021529b448be6ff37eb10a88
authorZhiyi Zhang <zzhang@codeweavers.com>
Wed, 3 Mar 2021 06:48:44 +0000 (3 14:48 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 3 Mar 2021 20:54:45 +0000 (3 21:54 +0100)
treec70493524db9757032a32fea6f11dd5d5a35f140
parent9dd0c07d7f1a243d29bf92a7465b5138e0b438a1
comctl32/button: Use themed painting when possible for handling WM_SETTEXT.

Fix an issue that themed buttons are drawn unthemed after receiving a
WM_SETTEXT message.

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