[Tizen] Support legacy way to create InputMethodContext 56/213456/2 accepted/tizen/unified/20190909.050738 submit/tizen/20190909.011843
authorJiyun Yang <ji.yang@samsung.com>
Thu, 5 Sep 2019 11:19:06 +0000 (20:19 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Thu, 5 Sep 2019 11:19:19 +0000 (20:19 +0900)
Change-Id: Iee2825337296804962ef04de6916f60421c2ad9d
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
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;