[Tizen] Support legacy way to create InputMethodContext accepted/tizen/unified/20190926.000034 submit/tizen/20190925.063212
authorSeungho, Baek <sbsh.baek@samsung.com>
Tue, 17 Sep 2019 04:36:14 +0000 (13:36 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Wed, 25 Sep 2019 06:02:19 +0000 (15:02 +0900)
This reverts commit 658b1edb89d4f3f5fb7d329cb40375d2907535c8.

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;