[Tizen] Support legacy way to create InputMethodContext submit/tizen/20190917.064531
authorSeungho, Baek <sbsh.baek@samsung.com>
Tue, 17 Sep 2019 04:36:14 +0000 (13:36 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Tue, 17 Sep 2019 04:36:21 +0000 (13:36 +0900)
This reverts commit 658b1edb89d4f3f5fb7d329cb40375d2907535c8.

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;