[Tizen] Fixed many issues.
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / CustomActor.cs
index 8bea2d1..6f7bf4d 100755 (executable)
@@ -70,7 +70,7 @@ namespace Tizen.NUI
 
         public new static CustomActor DownCast(BaseHandle handle)
         {
-            CustomActor ret = new CustomActor(NDalicPINVOKE.CustomActor_DownCast(BaseHandle.getCPtr(handle)), true);
+            CustomActor ret =  Registry.GetManagedBaseHandleFromNativePtr(handle) as CustomActor;
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }