From d3c4b5b8c172dbe02e267607039c5bec6ea339c7 Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Mon, 8 Jul 2024 00:01:20 +0300 Subject: [PATCH] Enable warning sound in question dialogs --- Source/Engine/Platform/Windows/WindowsPlatform.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Engine/Platform/Windows/WindowsPlatform.cpp b/Source/Engine/Platform/Windows/WindowsPlatform.cpp index 215af5a45..5c76f3292 100644 --- a/Source/Engine/Platform/Windows/WindowsPlatform.cpp +++ b/Source/Engine/Platform/Windows/WindowsPlatform.cpp @@ -442,11 +442,12 @@ DialogResult MessageBox::Show(Window* parent, const StringView& text, const Stri flags |= MB_ICONHAND; break; case MessageBoxIcon::Information: + case MessageBoxIcon::Question: flags |= MB_ICONINFORMATION; break; - case MessageBoxIcon::Question: - flags |= MB_ICONQUESTION; - break; + //case MessageBoxIcon::Question: + // flags |= MB_ICONQUESTION; + // break; case MessageBoxIcon::Stop: flags |= MB_ICONSTOP; break;