From beb1f1b8053a0ace883506b2442381c616acaa98 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Mon, 22 Feb 2021 12:46:45 -0800 Subject: [PATCH] Win32: Do not (yet) set window styles for Dialog Remove the setting of Dialog window styles until we confirm expected behavior between platforms. Differential Revision: https://developer.blender.org/D10470 Own Code --- intern/ghost/intern/GHOST_WindowWin32.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index e29505a5abf..a166fa490e2 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -114,8 +114,10 @@ GHOST_WindowWin32::GHOST_WindowWin32(GHOST_SystemWin32 *system, DWORD extended_style = parentwindow ? WS_EX_APPWINDOW : 0; if (dialog) { - style = WS_POPUPWINDOW | WS_CAPTION; - extended_style = WS_EX_DLGMODALFRAME | WS_EX_TOPMOST; + /* When we are ready to make windows of this type: + * style = WS_POPUPWINDOW | WS_CAPTION + * extended_style = WS_EX_DLGMODALFRAME | WS_EX_TOPMOST + */ } /* Monitor details. */