[NUI] Fix Key constructor's cMemoryOwn as false
authordongsug.song <dongsug.song@samsung.com>
Mon, 8 Aug 2022 02:37:07 +0000 (11:37 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 8 Aug 2022 03:58:56 +0000 (12:58 +0900)
src/Tizen.NUI/src/public/Window/Window.cs

index 63aa718..0f34b11 100755 (executable)
@@ -1578,7 +1578,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;
         }
@@ -1590,7 +1590,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;
         }