[Bf-blender-cvs] [beb1f1b8053] master: Win32: Do not (yet) set window styles for Dialog
Harley Acheson
noreply at git.blender.org
Mon Feb 22 21:48:29 CET 2021
Commit: beb1f1b8053a0ace883506b2442381c616acaa98
Author: Harley Acheson
Date: Mon Feb 22 12:46:45 2021 -0800
Branches: master
https://developer.blender.org/rBbeb1f1b8053a0ace883506b2442381c616acaa98
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
===================================================================
M intern/ghost/intern/GHOST_WindowWin32.cpp
===================================================================
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. */
More information about the Bf-blender-cvs
mailing list