[NUI] Fix Key constructor's cMemoryOwn as false
authordongsug.song <dongsug.song@samsung.com>
Mon, 13 Jun 2022 03:39:47 +0000 (12:39 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 13 Jun 2022 04:06:35 +0000 (13:06 +0900)
src/Tizen.NUI/src/public/Window/Window.cs

index b3834b0aaef399bb511521752f17075b695e5411..a1c23f13cb8e0045c788f3eeb38a3b37ab2cde5f 100755 (executable)
@@ -1707,7 +1707,7 @@ namespace Tizen.NUI
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Key GetLastKeyEvent()
         {
-            Key ret = new Key(Interop.Window.GetLastKeyEvent(SwigCPtr), true);
+            Key ret = new Key(Interop.Window.GetLastKeyEvent(SwigCPtr), false);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
@@ -1719,7 +1719,7 @@ namespace Tizen.NUI
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Touch GetLastTouchEvent()
         {
-            Touch ret = new Touch(Interop.Window.GetLastTouchEvent(SwigCPtr), true);
+            Touch ret = new Touch(Interop.Window.GetLastTouchEvent(SwigCPtr), false);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }