user32: Always call BeginPaint/EndPaint when handling a WM_PAINT message for the...
commit0fe60f83d227bf70f6cb4a2d7983d6fd654edba9
authorDmitry Timoshkov <dmitry@baikal.ru>
Mon, 19 Oct 2015 12:16:50 +0000 (19 20:16 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 19 Oct 2015 15:30:39 +0000 (20 00:30 +0900)
tree1af4c66a0b3e06d3dc3aa099ecd343e4e61d6ba8
parente79bf35933439800bd13b55c0cf7cc7505c05564
user32: Always call BeginPaint/EndPaint when handling a WM_PAINT message for the button.

Python 3.5 installer creates windows with class "Button" that have 0x000e
button style, that causes infinite painting loops and inability to draw
the installer UI.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/button.c