Gabriel Ivăncescu : comctl32: Redraw children when the combo box is dropped down.
Alexandre Julliard
julliard at winehq.org
Tue Apr 12 13:38:03 CDT 2022
Module: wine
Branch: oldstable
Commit: 9edeb764da3f794c97f9f4870591a40b36f987b5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9edeb764da3f794c97f9f4870591a40b36f987b5
Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date: Fri Nov 12 18:50:01 2021 +0200
comctl32: Redraw children when the combo box is dropped down.
Some applications subclass the combo box and handle WM_ERASEBKGND themselves,
without using WS_CLIPCHILDREN. This causes them to erase over the editbox
child, so it requires a refresh as well.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=22260
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit c82d6ee4a77f9fc0f44e0d36d155a3c3f3a6f6d9)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/comctl32/combo.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/comctl32/combo.c b/dlls/comctl32/combo.c
index 572740b5cfd..b03c26cac8e 100644
--- a/dlls/comctl32/combo.c
+++ b/dlls/comctl32/combo.c
@@ -1001,8 +1001,7 @@ static void CBDropDown( LPHEADCOMBO lphc )
if( !(lphc->wState & CBF_NOREDRAW) )
- RedrawWindow( lphc->self, NULL, 0, RDW_INVALIDATE |
- RDW_ERASE | RDW_UPDATENOW | RDW_NOCHILDREN );
+ RedrawWindow( lphc->self, NULL, 0, RDW_INVALIDATE | RDW_ERASE | RDW_UPDATENOW );
EnableWindow( lphc->hWndLBox, TRUE );
if (GetCapture() != lphc->self)
More information about the wine-cvs
mailing list