Darn! Even half a glass of wine will give me a bad headache.
Generally it's red wine that gives people a headache, and beer also affects some people that way. Nobody's sure why, but they think it's the sulfites in the red wine and beer that does it.
White wine doesn't have the high level of sulfites in it, and better aged white wines (and more expensive ones .. . natch) seem to cause fewer problems than cheap young wine.