Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Acheson <harley.acheson@gmail.com>2021-02-22 23:46:45 +0300
committerHarley Acheson <harley.acheson@gmail.com>2021-02-22 23:46:45 +0300
commitbeb1f1b8053a0ace883506b2442381c616acaa98 (patch)
tree218ae3fb214ba6b40ee4b63509627e0b2bcb4ad1 /intern/ghost
parent9c395d6275a06ec6adbf5c3d1faa827adc1cf54e (diff)
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
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_WindowWin32.cpp6
1 files 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. */