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