Remove unused InitDelegates() method. Don't mutate the Children list directly.

This commit is contained in:
Paul Chote
2011-01-23 10:13:14 +13:00
parent 3fe549d0a4
commit 646863b85b
6 changed files with 14 additions and 18 deletions

View File

@@ -39,10 +39,10 @@ namespace OpenRA.Widgets
throw new NotImplementedException();
}
public void ClearChildren()
public override void RemoveChildren()
{
Children.Clear();
ContentHeight = 0;
base.RemoveChildren();
}
public override void AddChild(Widget child)