/************************************************************************* set whether the check-box is selected or not *************************************************************************/ void Checkbox::setSelected(bool select) { if (select != d_selected) { d_selected = select; invalidate(); WindowEventArgs args(this); onSelectStateChange(args); } }
/************************************************************************* set whether the check-box is selected or not *************************************************************************/ void Checkbox::setSelected(bool select) { if (select != d_selected) { d_selected = select; requestRedraw(); WindowEventArgs args(this); onSelectStateChange(args); } }