Fixed buid errors.
This commit is contained in:
parent
cb19b4586b
commit
922407d5b6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue