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
This commit is contained in:
Harley Acheson 2021-02-22 12:46:45 -08:00
parent 9c395d6275
commit beb1f1b805

@ -114,8 +114,10 @@ GHOST_WindowWin32::GHOST_WindowWin32(GHOST_SystemWin32 *system,
DWORD extended_style = parentwindow ? WS_EX_APPWINDOW : 0; DWORD extended_style = parentwindow ? WS_EX_APPWINDOW : 0;
if (dialog) { if (dialog) {
style = WS_POPUPWINDOW | WS_CAPTION; /* When we are ready to make windows of this type:
extended_style = WS_EX_DLGMODALFRAME | WS_EX_TOPMOST; * style = WS_POPUPWINDOW | WS_CAPTION
* extended_style = WS_EX_DLGMODALFRAME | WS_EX_TOPMOST
*/
} }
/* Monitor details. */ /* Monitor details. */