diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-18 20:40:02 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-18 20:40:02 +0200 |
commit | 0676e94314bc734c11f4ac3b0b741b75e09a8465 (patch) | |
tree | 7d753340788633f84d09fa4dda15cb9da0243539 /plugingui | |
parent | 7387a9388f84ea5508593d8616d504af148483d7 (diff) |
Reinstate WS_VISIBLE for win32 windows.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/nativewindow_win32.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index 2edc56f..a0ab7f2 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -367,7 +367,9 @@ NativeWindowWin32::NativeWindowWin32(void* native_window, Window& window) m_hwnd = CreateWindowEx(0/*ex_style*/, m_className, "DGBasisWidget", - (native_window?WS_CHILD:WS_OVERLAPPEDWINDOW) | WS_VISIBLE, + native_window? + (WS_CHILD | WS_VISIBLE): + WS_OVERLAPPEDWINDOW, 0, 0, //window.x(), window.y(), 1, 1, //window.width(), window.height(), parent_window, nullptr, |