Skip to content

Commit 4115a57

Browse files
committed
fix(win32): remove WS_OVERLAPPEDWINDOW for child window
Closes #56
1 parent d49eadf commit 4115a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winio-ui-win32/src/ui/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ impl Window {
368368
let handle = if let Some(parent) = parent {
369369
Widget::new(
370370
WINDOW_CLASS_NAME.as_ptr(),
371-
WS_OVERLAPPEDWINDOW | WS_CHILDWINDOW,
371+
WS_CHILDWINDOW,
372372
WS_EX_CONTROLPARENT,
373373
parent.as_window().as_win32(),
374374
)

0 commit comments

Comments
 (0)