Make the widget selectable in the WidgetBase constructor before calling setSelected()
Otherwise, the call has no effect.
CCBUG:418249