summaryrefslogtreecommitdiff
path: root/redo/containers_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/containers_darwin.go')
-rw-r--r--redo/containers_darwin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/containers_darwin.go b/redo/containers_darwin.go
index be74096..0e0221a 100644
--- a/redo/containers_darwin.go
+++ b/redo/containers_darwin.go
@@ -30,7 +30,7 @@ func (t *tab) Append(name string, control Control) {
defer C.free(unsafe.Pointer(cname))
tabview := C.tabAppend(t.id, cname)
c.child = control
- c.child.setParent(tabview)
+ c.child.setParent(&controlParent{tabview})
}
func (t *tab) allocate(x int, y int, width int, height int, d *sizing) []*allocation {