Support legacy way to create InputMethodContext 82/215882/1
authorJiyun Yang <ji.yang@samsung.com>
Mon, 14 Oct 2019 06:37:18 +0000 (15:37 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Thu, 17 Oct 2019 06:45:58 +0000 (15:45 +0900)
This reverts commit fb14dac2cb6d6bb5e0fd27a7d8dddbe527762764.

Change-Id: I76d7f2cdcd620860922c3025b2dd73cbdb5a8c99

dali-csharp-binder/src/input-method-context.cpp

index e0c3a80..3f169c6 100755 (executable)
@@ -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<char*>(e.what())); return 0;