mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 12:38:02 +00:00
Under Windows 95/98/NT, message boxes do not have a default icon.
This commit is contained in:
parent
ad28d39d98
commit
fa861c2dd7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue