From b2467edc0fa012e01d24add0e2f51959b3e78b2e 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 e6e926893..022bb4faf 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;