shell32: Draw text on message boxes without background.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Fabian Maurer 2017-09-04 19:42:53 +02:00 committed by Alexandre Julliard
parent 0b1d7ff765
commit 755f49d7c4
1 changed files with 1 additions and 0 deletions

View File

@ -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 */