Enable warning sound in question dialogs

This commit is contained in:
2024-07-08 00:01:20 +03:00
committed by Ari Vuollet
parent 94e398a6b3
commit b2467edc0f

View File

@@ -442,11 +442,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;