From b915ff1d6d8fdefb5482b7faa3d68734a14047eb Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Mon, 8 Feb 2016 09:12:54 +0100 Subject: ensure Groups use Children property (overridable) instead of children field --- src/GraphicObjects/GenericStack.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/GraphicObjects/GenericStack.cs') 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 child) + public override T AddChild (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); } -- cgit v1.3.1-4-g156e