From 3893d4d1f879ce3f8b5e34541d6d394f8bda3cc9 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 397842d60..1714e9dba 100644 --- a/Source/Engine/Platform/Windows/WindowsPlatform.cpp +++ b/Source/Engine/Platform/Windows/WindowsPlatform.cpp @@ -443,11 +443,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;