wxCheckBox::SetValue

void SetValue(Bool state)

Sets the checkbox to the given state: if the state is TRUE, the check is on, otherwise it is off.