diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-08 19:22:52 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-08 19:22:52 +0200 |
| commit | cc4c62ab5d809ff451ca475a7949adc4fdfd806b (patch) | |
| tree | 3b39b3eeffbadbc930941e37c1ef3b5026339da3 /src/GraphicObjects/PrivateContainer.cs | |
| parent | 4d4a9116ea5c68b27f0b7c43db9682ab57738ae7 (diff) | |
IMLInstantiator implementation
Diffstat (limited to 'src/GraphicObjects/PrivateContainer.cs')
| -rw-r--r-- | src/GraphicObjects/PrivateContainer.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs index 8793ba45..51d76604 100644 --- a/src/GraphicObjects/PrivateContainer.cs +++ b/src/GraphicObjects/PrivateContainer.cs @@ -22,6 +22,7 @@ using System; using System.Xml.Serialization; using System.ComponentModel; using Cairo; +using System.Diagnostics; namespace Crow { @@ -47,7 +48,7 @@ namespace Crow protected GraphicObject child; - protected virtual T SetChild<T>(T _child) + internal virtual void SetChild(GraphicObject _child) { if (child != null) { @@ -67,8 +68,8 @@ namespace Crow child.RegisteredLayoutings = LayoutingType.None; child.RegisterForLayouting (LayoutingType.Sizing); } + Debug.WriteLine ("privateContainer setChild"); - return (T)_child; } #region GraphicObject Overrides |