Call ReleaseDC() with correct window handle.

This commit is contained in:
Dmitry Timoshkov 2005-03-07 10:58:21 +00:00 committed by Alexandre Julliard
parent 687679cd90
commit 08b250e74e
1 changed files with 1 additions and 1 deletions
windows

View File

@ -239,7 +239,7 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSW lpmb)
if (hFont)
SelectObject(hdc, hPrevFont);
ReleaseDC(hItem, hdc);
ReleaseDC(hwnd, hdc);
tiheight = 16 + max(iheight, theight);
wwidth = tleft + twidth + ileft + borwidth;