From 9daab20fcef427dbf0c27a32d8c5ec5bb3366cea Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 29 Jul 2014 23:01:28 -0400 Subject: Changed Control.setParent() to take the same argument type on all platforms; this is needed for re-adding Stack and Grid. This argument type is defined by each platform. --- redo/containers_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redo/containers_darwin.go') 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 { -- cgit v1.2.3