forked from bartvdbraak/blender
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:
parent
9c395d6275
commit
beb1f1b805
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user