[PATCH] shell32: Draw text on messageboxes without background

Fabian Maurer dark.shadow4 at web.de
Mon Sep 4 12:42:53 CDT 2017


Fixes Bug 43658.

Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
 dlls/shell32/shlfileop.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index 3c1806606a..8d4160d90c 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -122,6 +122,7 @@ static INT_PTR ConfirmMsgBox_Paint(HWND hDlg)
 
     BeginPaint(hDlg, &ps);
     hdc = ps.hdc;
+    SetBkMode(hdc, TRANSPARENT);
 
     GetClientRect(GetDlgItem(hDlg, IDD_MESSAGE), &r);
     /* this will remap the rect to dialog coords */
-- 
2.14.1




More information about the wine-patches mailing list