Commit fa861c2d authored by Haithem Hmida's avatar Haithem Hmida Committed by Alexandre Julliard

Under Windows 95/98/NT, message boxes do not have a default icon.

parent ad28d39d
......@@ -110,9 +110,13 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSA lpmb)
(WPARAM16)LoadIcon16(0, IDI_ASTERISK16), 0);
break;
case MB_ICONHAND:
default:
SendDlgItemMessage16(hwnd, stc1, STM_SETICON16,
SendDlgItemMessage16(hwnd, stc1, STM_SETICON16,
(WPARAM16)LoadIcon16(0, IDI_HAND16), 0);
break;
default:
/* By default, Windows 95/98/NT do not associate an icon to message boxes.
* So wine should do the same.
*/
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment