diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-29 23:01:28 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-29 23:01:28 -0400 |
| commit | 9daab20fcef427dbf0c27a32d8c5ec5bb3366cea (patch) | |
| tree | da3b816d12434e7c5268c6e873dd60f5e8534257 /redo/containers_darwin.go | |
| parent | f4bb7360d4060d9c62c30d6b5508683a4fb6c472 (diff) | |
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.
Diffstat (limited to 'redo/containers_darwin.go')
| -rw-r--r-- | redo/containers_darwin.go | 2 |
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 { |
