summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_win32.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-18 20:32:35 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-18 20:32:50 +0200
commit7387a9388f84ea5508593d8616d504af148483d7 (patch)
tree8ab78cb84afc928a7fecc79c62f7564972dccc3e /plugingui/nativewindow_win32.cc
parentd01b249bebbacc6a2db5c1cb914499a2e22ad0d2 (diff)
Reinstate WS_VISIBLE for win32 windows.
Diffstat (limited to 'plugingui/nativewindow_win32.cc')
-rw-r--r--plugingui/nativewindow_win32.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc
index 5214ef0..2edc56f 100644
--- a/plugingui/nativewindow_win32.cc
+++ b/plugingui/nativewindow_win32.cc
@@ -367,7 +367,7 @@ NativeWindowWin32::NativeWindowWin32(void* native_window, Window& window)
m_hwnd = CreateWindowEx(0/*ex_style*/, m_className,
"DGBasisWidget",
- (native_window?WS_CHILD: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,