From 225ce9389badac5b2337458737bd75266883b50d Mon Sep 17 00:00:00 2001 From: Jiyun Yang Date: Mon, 14 Oct 2019 15:37:18 +0900 Subject: [PATCH] Support legacy way to create InputMethodContext This reverts commit fb14dac2cb6d6bb5e0fd27a7d8dddbe527762764. Change-Id: I76d7f2cdcd620860922c3025b2dd73cbdb5a8c99 --- dali-csharp-binder/src/input-method-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dali-csharp-binder/src/input-method-context.cpp b/dali-csharp-binder/src/input-method-context.cpp index e0c3a80..3f169c6 100755 --- a/dali-csharp-binder/src/input-method-context.cpp +++ b/dali-csharp-binder/src/input-method-context.cpp @@ -549,7 +549,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_InputMethodContext_New() { { try { - result = Dali::InputMethodContext::New(); + result = Dali::InputMethodContext::New( Dali::Stage::GetCurrent().GetRootLayer() ); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; -- 2.7.4