X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Fapplication-event.i;h=3db23f4bb4cf37823dbf88468367c893527ea509;hb=b7d35fcb8b551c9c38e3b5a225aecef43ca98bdb;hp=bc81dec05b242e5980e8c1bdef7530c9cec52654;hpb=01bb79ad3a163f47b5b98ee2a89cbde8ddca9d3c;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-swig/SWIG/events/application-event.i b/plugins/dali-swig/SWIG/events/application-event.i index bc81dec..3db23f4 100644 --- a/plugins/dali-swig/SWIG/events/application-event.i +++ b/plugins/dali-swig/SWIG/events/application-event.i @@ -1018,6 +1018,9 @@ public static Application NewApplication(string stylesheet, Application.WINDOW_MODE windowMode) { + // register all Views with the type registry, so that can be created / styled via JSON + ViewRegistryHelper.Initialize(); + Application ret = New(1, stylesheet, windowMode); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();