closes #21 - add panic to AddChild

This commit is contained in:
Vladimir Markelov 2015-10-20 16:00:35 -07:00
parent b405874889
commit 20fd6ab608
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ func (c *ControlBase) SetPack(pk PackType) {
}
func (c *ControlBase) AddChild(ctrl Control, scale int) {
panic("This control cannot have children")
}
func (c *ControlBase) Children() []Control {