Remove a pile of unnecessary state management from Scrollpanels.

This commit is contained in:
Paul Chote
2011-01-01 16:47:52 +13:00
parent e2b739cd3e
commit d90dec9c8e
22 changed files with 57 additions and 115 deletions

View File

@@ -287,7 +287,7 @@ namespace OpenRA.Widgets
child.Tick();
}
public void AddChild(Widget child)
public virtual void AddChild(Widget child)
{
child.Parent = this;
Children.Add( child );