DevelControl::UnregisterVisual(*this, index);
}
- DevelControl::RegisterVisual(*this, index, visual, enabled);
+ DevelControl::RegisterVisual(*this, index, visual, enabled, DepthIndex::CONTENT);
}
void ToggleButton::RelayoutVisual(Property::Index index, const Vector2& size)
// TODO: replace it with OnPropertySet hook once Button::Property::SELECTED will be consistently used
if(newState == SELECTED_STATE || newState == UNSELECTED_STATE)
{
- auto* accessible = GetAccessibleObject();
+ auto accessible = GetAccessibleObject();
if(DALI_LIKELY(accessible) && accessible->IsHighlighted())
{
accessible->EmitStateChanged(Dali::Accessibility::State::CHECKED, mCurrentToggleIndex ? 1 : 0, 0);