projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Fixed many issues.
[platform/core/csapi/tizenfx.git]
/
src
/
Tizen.NUI
/
src
/
public
/
Layer.cs
diff --git
a/src/Tizen.NUI/src/public/Layer.cs
b/src/Tizen.NUI/src/public/Layer.cs
index
474146c
..
17179f8
100755
(executable)
--- a/
src/Tizen.NUI/src/public/Layer.cs
+++ b/
src/Tizen.NUI/src/public/Layer.cs
@@
-103,7
+103,7
@@
namespace Tizen.NUI
[Obsolete("Please do not use! this will be deprecated")]
public new static Layer DownCast(BaseHandle handle)
{
[Obsolete("Please do not use! this will be deprecated")]
public new static Layer DownCast(BaseHandle handle)
{
- Layer ret =
new Layer(NDalicPINVOKE.Layer_DownCast(BaseHandle.getCPtr(handle)), true)
;
+ Layer ret =
Registry.GetManagedBaseHandleFromNativePtr(handle) as Layer
;
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
@@
-117,7
+117,9
@@
namespace Tizen.NUI
/// <returns> A handle to the view if found, or an empty handle if not. </returns>
public View FindChildById(uint id)
{
/// <returns> A handle to the view if found, or an empty handle if not. </returns>
public View FindChildById(uint id)
{
- View ret = new View(NDalicPINVOKE.Actor_FindChildById(swigCPtr, id), true);
+ IntPtr cPtr = NDalicPINVOKE.Actor_FindChildById(swigCPtr, id);
+ View ret = Registry.GetManagedBaseHandleFromNativePtr(cPtr) as View;
+
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;