From 73fcb4e22d4f90e61165f5cdb438f3a4b224ad4c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 28 Oct 2014 00:13:18 -0400 Subject: Fixed Mac OS X issues. --- tab_darwin.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tab_darwin.go') diff --git a/tab_darwin.go b/tab_darwin.go index 9f5ecff..7a8aefe 100644 --- a/tab_darwin.go +++ b/tab_darwin.go @@ -24,10 +24,9 @@ func newTab() Tab { } func (t *tab) Append(name string, control Control) { - c := newContainer() + c := newContainer(control.resize) t.tabs = append(t.tabs, c) control.setParent(c.parent()) - c.resize = control.resize t.children = append(t.children, control) cname := C.CString(name) defer C.free(unsafe.Pointer(cname)) -- cgit v1.2.3