Enable warning sound in question dialogs

This commit is contained in:
2024-07-08 00:01:20 +03:00
committed by Ari Vuollet
parent cf7ac50faf
commit 3893d4d1f8

View File

@@ -443,11 +443,12 @@ DialogResult MessageBox::Show(Window* parent, const StringView& text, const Stri
flags |= MB_ICONHAND; flags |= MB_ICONHAND;
break; break;
case MessageBoxIcon::Information: case MessageBoxIcon::Information:
case MessageBoxIcon::Question:
flags |= MB_ICONINFORMATION; flags |= MB_ICONINFORMATION;
break; break;
case MessageBoxIcon::Question: //case MessageBoxIcon::Question:
flags |= MB_ICONQUESTION; // flags |= MB_ICONQUESTION;
break; // break;
case MessageBoxIcon::Stop: case MessageBoxIcon::Stop:
flags |= MB_ICONSTOP; flags |= MB_ICONSTOP;
break; break;