From: SukHyung, Kang Date: Mon, 21 Aug 2017 06:07:36 +0000 (+0900) Subject: change window type from Widget to Window for WatchApplication X-Git-Tag: submit/trunk/20170823.075128~19^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F145063%2F1;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git change window type from Widget to Window for WatchApplication Signed-off-by: SukHyung, Kang Change-Id: I669acc9d79e4af109cd7ff09ae76e06a9cb41399 --- diff --git a/src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchApplication.cs b/src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchApplication.cs index f739b47..43cdbca 100755 --- a/src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchApplication.cs +++ b/src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchApplication.cs @@ -49,7 +49,7 @@ namespace Tizen.Applications /// /// Instance for the window /// - protected Widget Window; + protected Window Window; /// /// Occurs whenever the application is resumed. @@ -103,6 +103,7 @@ namespace Tizen.Applications Interop.Watch.GetWin(out win); Window = new WatchWindow(win); + Window.Show(); } /// diff --git a/src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchWindow.cs b/src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchWindow.cs index 2d751d5..ef9ac45 100755 --- a/src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchWindow.cs +++ b/src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchWindow.cs @@ -19,7 +19,7 @@ using System; namespace Tizen.Applications { - internal class WatchWindow : Widget + internal class WatchWindow : Window { private IntPtr _handle;