/* Get minimum widget size. 
This function returns the minimum size that is required for showing the full widget and the caption. */
void wtk_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_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 += 2;
	size->y += 2;
}