[0.4.11] [COMCTL32] button: Don't erase the area of the checkbox or the text.
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Thu, 10 Jan 2019 21:35:56 +0000 (23:35 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Sun, 13 Jan 2019 18:11:41 +0000 (19:11 +0100)
commitfc9e7ba7ea8a3095db48d9d11dd5770f575cbf7a
treec6cd4d42e982857128b27c53ab19096b2bf23977
parent1d47cfdc1d6e82c890bd6025f7f4c05b7142083a
[0.4.11] [COMCTL32] button: Don't erase the area of the checkbox or the text.
Attempt to fix the menace of the world, CORE-13278.
Note that this can also cause visual glitches for classic check boxes or
radio buttons.

This commit does not fix the flickering to 100%, but it does greatly reduce it.
I will watch out during release tests, whether anything is negatively impacted,
and if yes, I might withdraw the patch. Up to now I did not spot any problems.

cherry picked from commit 0.4.12-dev-347-g
75a80ec82309a19632251bfe6aa9e7f14132a86f
dll/win32/comctl32/button.c