diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-08 09:12:54 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-08 09:12:54 +0100 |
| commit | b915ff1d6d8fdefb5482b7faa3d68734a14047eb (patch) | |
| tree | 8bf687925e5d0e60031135bcc7da53011d4eb30b /src/GraphicObjects/GenericStack.cs | |
| parent | e7f1d4eac6b5023810152bf1f6c45f563bd0e202 (diff) | |
ensure Groups use Children property (overridable) instead of children field
Diffstat (limited to 'src/GraphicObjects/GenericStack.cs')
| -rw-r--r-- | src/GraphicObjects/GenericStack.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GraphicObjects/GenericStack.cs b/src/GraphicObjects/GenericStack.cs index d2338362..665ba65d 100644 --- a/src/GraphicObjects/GenericStack.cs +++ b/src/GraphicObjects/GenericStack.cs @@ -28,15 +28,15 @@ namespace Crow Orientation _orientation; #endregion - public override T addChild<T> (T child) + public override T AddChild<T> (T child) { - T tmp = base.addChild (child); + T tmp = base.AddChild (child); this.RegisterForLayouting (LayoutingType.PositionChildren); return tmp; } - public override void removeChild (GraphicObject child) + public override void RemoveChild (GraphicObject child) { - base.removeChild (child); + base.RemoveChild (child); this.RegisterForLayouting (LayoutingType.PositionChildren); } |