[Tizen] Support legacy way to create InputMethodContext accepted/tizen/unified/20190911.111632 submit/tizen/20190910.094904
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 10 Sep 2019 09:42:57 +0000 (18:42 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Tue, 10 Sep 2019 09:43:00 +0000 (18:43 +0900)
This reverts commit 176b924246e456fe5a84770571d94c8bf690e80a.

Change-Id: I9994c73ba56cb77691309141391ec4d7eb3e57de

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

index 822687a..2e9d2fd 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;