[PATCH 1/2] user32/combo: Draw comboboxes with correct background
Fabian Maurer
dark.shadow4 at web.de
Fri Sep 20 16:45:32 CDT 2019
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46417
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
dlls/user32/combo.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/user32/combo.c b/dlls/user32/combo.c
index 59c2e6484c..a126922a74 100644
--- a/dlls/user32/combo.c
+++ b/dlls/user32/combo.c
@@ -1912,6 +1912,9 @@ LRESULT ComboWndProc_common( HWND hwnd, UINT message, WPARAM wParam, LPARAM lPar
}
else return CB_ERR;
+ case WM_CTLCOLORSTATIC:
+ case WM_CTLCOLOREDIT:
+ return (LRESULT)GetSysColorBrush(COLOR_WINDOW);
case WM_DRAWITEM:
case WM_DELETEITEM:
case WM_COMPAREITEM:
--
2.23.0
More information about the wine-devel
mailing list