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

Alexandre Julliard julliard at winehq.org
Mon Nov 26 16:20:10 CST 2018


Module: wine
Branch: master
Commit: 2d9e3236ea8ae752184b8a285f9d616ec94afb8f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2d9e3236ea8ae752184b8a285f9d616ec94afb8f

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Sun Nov 25 20:57:53 2018 +0300

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 at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/combo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/user32/combo.c b/dlls/user32/combo.c
index 31ec6af..59c2e64 100644
--- a/dlls/user32/combo.c
+++ b/dlls/user32/combo.c
@@ -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 );
 }
 
 




More information about the wine-cvs mailing list