user32: Do not ask DrawFrameControl() to modify the passed in rectangle.
commitc049f833082bf57f8364d433a3fa41b6756441c5
authorDmitry Timoshkov <dmitry@codeweavers.com>
Fri, 16 Apr 2010 09:59:24 +0000 (16 18:59 +0900)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 16 Apr 2010 10:40:52 +0000 (16 12:40 +0200)
tree2950d981b99782d606ec99cd843734653b8f93e1
parent7a9ba819e795885dbab7fd568fca7df6969e7a6c
user32: Do not ask DrawFrameControl() to modify the passed in rectangle.

This patch should fix the regression(s) caused by my recent button painting
patches. The problem was that DrawFrameControl() was modifying the rectangle,
and one of my patches stopped calling DrawFrameControl() in case of ODA_FOCUS
action, so drawing an entire button and only focus started to differ, which
was hidden by the custom clipping (that was removed by my last patch).
dlls/user32/button.c