/* Get minimum widget size. 
This function returns the minimum size that is required for showing the full widget and the caption. */
void wtk_check_box_size_hint(struct win_point *size, const char *caption)
/* Get minimum widget size. 
This function returns the minimum size that is required for showing the full widget and the caption. */
void wtk_check_box_size_hint(struct win_point *size, const char *caption)
{
	Assert(size);
	Assert(caption);
	gfx_get_string_bounding_box(caption, &sysfont, &size->x, &size->y);
	size->x += WTK_CHECKBOX_CAPTION_X;
	size->y += WTK_CHECKBOX_CAPTION_Y;
	if (size->y < WTK_CHECKBOX_BOX_SIZE) {
		size->y = WTK_CHECKBOX_BOX_SIZE;
	}
}