She ate the glass of wine for her dinner.
A glass a wine is almost always on the dinner table.
People don't eat glass for dinner or any other daily meals.
You cannot have a glass wine with your dinner without the wineglass.