summaryrefslogtreecommitdiff
path: root/redo/window_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/window_windows.go')
-rw-r--r--redo/window_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/window_windows.go b/redo/window_windows.go
index 3a551c2..60f89d1 100644
--- a/redo/window_windows.go
+++ b/redo/window_windows.go
@@ -44,7 +44,7 @@ func newWindow(title string, width int, height int, control Control) *window {
if hresult != C.S_OK {
panic(fmt.Errorf("error setting tab background texture on Window; HRESULT: 0x%X", hresult))
}
- w.container.setParent(&controlParent{w.hwnd})
+ w.container.setParent(w.hwnd)
return w
}