X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FCustomActor.cs;h=86b873ab1eb140a0adf318e172954da1b705781c;hp=53eacc25e10b6497e7475ee96dd4d200e720be3c;hb=665d92f07e3e06e1db65a473c6eb6869dc476c03;hpb=6fa08daf440e496896babb230e404aae7e77a5bb diff --git a/plugins/dali-sharp/sharp/internal/CustomActor.cs b/plugins/dali-sharp/sharp/internal/CustomActor.cs index 53eacc2..86b873a 100644 --- a/plugins/dali-sharp/sharp/internal/CustomActor.cs +++ b/plugins/dali-sharp/sharp/internal/CustomActor.cs @@ -10,7 +10,7 @@ namespace Dali { -public class CustomActor : Actor { + public class CustomActor : Animatable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; internal CustomActor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CustomActor_SWIGUpcast(cPtr), cMemoryOwn) { @@ -25,8 +25,8 @@ public class CustomActor : Actor { DisposeQueue.Instance.Add(this); } - public override void Dispose() { - if (!Stage.IsInstalled()) { + public virtual void Dispose() { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -40,7 +40,6 @@ public class CustomActor : Actor { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); - base.Dispose(); } }