Revert "Revert "[Tizen] Support legacy way to create InputMethodContext"" 25/214425/1
authordongsug.song <dongsug.song@samsung.com>
Mon, 23 Sep 2019 04:00:02 +0000 (13:00 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Mon, 23 Sep 2019 04:00:06 +0000 (13:00 +0900)
This reverts commit 658b1edb89d4f3f5fb7d329cb40375d2907535c8.

Change-Id: I23e2f5b2f6b40249c5ec00963660085bee8cd354

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

index 822687ab4c52e7c9c6c91403a81ea10a6aec762f..2e9d2fd3dad105d18f380483f1bd9c418d55c34c 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;