user32: Don't force a combobox repaint on WM_SIZE.

This breaks z-order based painting and causes side effects for
applications that during the WM_PAINT processing reference internal
data associated with a not fully initialized window.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2018-11-25 20:57:53 +03:00 committed by Alexandre Julliard
parent 48be283250
commit 2d9e3236ea
1 changed files with 1 additions and 1 deletions

View File

@ -1536,7 +1536,7 @@ static void COMBO_Size( LPHEADCOMBO lphc )
&lphc->buttonRect,
&lphc->droppedRect);
CBResetPos( lphc, &lphc->textRect, &lphc->droppedRect, TRUE );
CBResetPos( lphc, &lphc->textRect, &lphc->droppedRect, FALSE );
}