NUI.CustomView is subclass of NUI.View, and it will create CustomActor,
which is not a Dali::Toolkit::Control.
In this case, it will throw exception at DevelControl API.
To avoid this cases, let we seperate the cases between Control and non-Control.
And let we ignore for non-control cases.
Change-Id: I87082c77039bb6691cebb18d90341b61b511ba45
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
}));
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Accessibility_DetachAccessibleObject(Dali::Toolkit::Control* arg1_control)
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Accessibility_DetachAccessibleObject(Dali::BaseHandle* arg1_control)
{
GUARD_ON_NULL_RET(arg1_control);
try_catch(([&]() {
- Dali::Toolkit::Control control = *arg1_control;
+ Dali::Toolkit::Control control = Dali::Toolkit::Control::DownCast(*arg1_control);
if(DALI_LIKELY(control))
{
// Call detach only if accessible was created before.