aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/PrivateContainer.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/PrivateContainer.cs
parent4d4a9116ea5c68b27f0b7c43db9682ab57738ae7 (diff)
parent91a40c76fc886501c644a702832a9b257bc154f9 (diff)
instanciator
Diffstat (limited to 'src/GraphicObjects/PrivateContainer.cs')
-rw-r--r--src/GraphicObjects/PrivateContainer.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs
index 8793ba45..a6f52f29 100644
--- a/src/GraphicObjects/PrivateContainer.cs
+++ b/src/GraphicObjects/PrivateContainer.cs
@@ -47,7 +47,7 @@ namespace Crow
protected GraphicObject child;
- protected virtual T SetChild<T>(T _child)
+ internal virtual void SetChild(GraphicObject _child)
{
if (child != null) {
@@ -67,8 +67,6 @@ namespace Crow
child.RegisteredLayoutings = LayoutingType.None;
child.RegisterForLayouting (LayoutingType.Sizing);
}
-
- return (T)_child;
}
#region GraphicObject Overrides