Melt the butter in a saucepan, add the onion and garlic, cover with a lid and cook for 5 minutes. Pour the chicken stock into a separate pan and bring to a simmer.
Add the rice to the onions and coat in the butter. Add the white wine, boil and reduce for 2 minutes. Add just enough hot stock to cover the rice.