summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,