[Tizen] Support legacy way to create InputMethodContext accepted/tizen/unified/20191004.003543 submit/tizen/20191001.081227 submit/tizen/20191001.095942
authorSunghyun kim <scholb.kim@samsung.com>
Tue, 1 Oct 2019 06:48:48 +0000 (15:48 +0900)
committerSunghyun kim <scholb.kim@samsung.com>
Tue, 1 Oct 2019 06:48:52 +0000 (15:48 +0900)
This reverts commit 43c71791538beb8136e2fc2f3b66b72a4bb56e91.

Change-Id: I37c40d633bd436688a016f4907e3b372422229bc

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;