aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Grid.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-09 03:37:43 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-09 03:39:47 +0200
commit04c3deb931dfe039bf0a8f8665f6538f09f5508a (patch)
treecf5fd1392b1c36996a46e2da82fc1c2d22688ef9 /src/GraphicObjects/Grid.cs
parent4d4a9116ea5c68b27f0b7c43db9682ab57738ae7 (diff)
parent91a40c76fc886501c644a702832a9b257bc154f9 (diff)
instanciator
Diffstat (limited to 'src/GraphicObjects/Grid.cs')
-rw-r--r--src/GraphicObjects/Grid.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/GraphicObjects/Grid.cs b/src/GraphicObjects/Grid.cs
index 525827e0..ed0cd986 100644
--- a/src/GraphicObjects/Grid.cs
+++ b/src/GraphicObjects/Grid.cs
@@ -29,11 +29,10 @@ namespace Crow
int _rowCount;
#endregion
- public override T AddChild<T> (T child)
+ public override void AddChild (GraphicObject child)
{
- T tmp = base.AddChild (child);
+ base.AddChild (child);
this.RegisterForLayouting (LayoutingType.ArrangeChildren);
- return tmp;
}
public override void RemoveChild (GraphicObject child)
{