user32: Check the correct id for the close button when setting the font.
This commit is contained in:
parent
0fc73914e2
commit
9ac7cc8311
|
@ -88,7 +88,7 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSW lpmb)
|
||||||
/* set button font */
|
/* set button font */
|
||||||
for (i = IDOK; i <= IDCONTINUE; i++)
|
for (i = IDOK; i <= IDCONTINUE; i++)
|
||||||
/* no close button */
|
/* no close button */
|
||||||
if (i != IDCANCEL)
|
if (i != IDCLOSE)
|
||||||
SendDlgItemMessageW (hwnd, i, WM_SETFONT, (WPARAM)hFont, 0);
|
SendDlgItemMessageW (hwnd, i, WM_SETFONT, (WPARAM)hFont, 0);
|
||||||
|
|
||||||
/* set text font */
|
/* set text font */
|
||||||
|
|
Loading…
Reference in New Issue