/* Get minimum widget size. 
This function returns the minimum size that is required for showing the full widget and the caption. */
void wtk_radio_button_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_radio_button_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_RADIOBUTTON_CAPTION_X + 2;
	size->y += WTK_RADIOBUTTON_CAPTION_Y + 2;
	if (size->y < (WTK_RADIOBUTTON_BUTTON_Y + WTK_RADIOBUTTON_RADIUS + 2)) {
		size->y = WTK_RADIOBUTTON_BUTTON_Y + WTK_RADIOBUTTON_RADIUS + 2;
	}
}