[0.4.10][COMCTL32] Button.c Fix CORE-17260
authorJoachim Henze <Joachim.Henze@reactos.org>
Wed, 16 Jun 2021 07:40:42 +0000 (09:40 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Wed, 16 Jun 2021 07:40:42 +0000 (09:40 +0200)
commit404371f8569e77f660d97b8179f717ab22e27c27
tree5804c8d46c0a7411104a2b365c91c81863cafaf5
parentec185fb916b59d285482dd7740503e4867ff24b6
[0.4.10][COMCTL32] Button.c Fix CORE-17260

Press'n'Hold of a button, then leaving the button rect
should redraw the button in unpressed state

Thanks to JIRA user 'I_kill_Bugs' for perfecting
my initial experiments to fix that.

It regressed by 0.4.9-dev-719-g b3fb8555bf9abcc04eeac31c7153d33e2f027fc0

No need to sync anything with Wine, their code is
correct on Wine head. The bug was in ros specific diff.

cherry picked from commit 0.4.15-dev-1085-g c947eb4d176603e0ff29217c079d8f5e1c2119e1
dll/win32/comctl32/button.c