/* This function toggles the value of a check box. If it is not selected, it will be set to a selected/checked state, and vice versa. The graphics will be updated if the box is visible. */
void wtk_check_box_toggle(struct wtk_check_box *check_box)
/* This function toggles the value of a check box. If it is not selected, it will be set to a selected/checked state, and vice versa. The graphics will be updated if the box is visible. */
void wtk_check_box_toggle(struct wtk_check_box *check_box)
{
	Assert(check_box);
	check_box->selected = !check_box->selected;
	win_redraw(check_box->container);
}