Fixed buid errors.

This commit is contained in:
Pietro Gagliardi 2014-10-18 16:12:41 -04:00
parent cb19b4586b
commit 922407d5b6
1 changed files with 2 additions and 2 deletions

View File

@ -13,14 +13,14 @@ type tab struct {
*controlSingleObject *controlSingleObject
tabs []*container tabs []*container
children []Control children []Control
chainresize func(x int, y int, width int, height int chainresize func(x int, y int, width int, height int, d *sizing)
} }
func newTab() Tab { func newTab() Tab {
t := &tab{ t := &tab{
controlSingleObject: newControlSingleObject(C.newTab()), controlSingleObject: newControlSingleObject(C.newTab()),
} }
t.fpreferredsize = t.xpreferredsize t.fpreferredSize = t.xpreferredSize
t.chainresize = t.fresize t.chainresize = t.fresize
t.fresize = t.xresize t.fresize = t.xresize
return t return t