summaryrefslogtreecommitdiff
path: root/redo/window_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/window_darwin.go')
-rw-r--r--redo/window_darwin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/window_darwin.go b/redo/window_darwin.go
index 90679bc..16f8b9f 100644
--- a/redo/window_darwin.go
+++ b/redo/window_darwin.go
@@ -35,7 +35,7 @@ func newWindow(title string, width int, height int, control Control) *window {
w.container.beginResize = w.beginResize
C.windowSetDelegate(id, unsafe.Pointer(w))
w.child = control
- w.child.setParent(w.id)
+ w.child.setParent(C.windowContentView(w.id))
return w
}