Obviously wine is alcoholic (Many would say that is one of its best characteristics!) That being said, the thing about drinking when you're on OCD/anxiety medication is that you have to be very cognizant of what you're doing.
On certain medications you can't drink at all, and then on others you just have to be very careful.
Depending on your view, the tragedy or triumph is that certain pills can make you get drunk faster.
This alone wouldn't necessarily be a bad thing, but the problem is drinking on pills may also just give you a tummy ache . Or worse. I had a friend in college who passed away from some deadly mix of drinking and Xanax. (If you are ever thinking of trying that combo - DON'T).
Ultimately, most of these drugs are serious business and they need to be treated that way. No matter what pills you're on, listen to what your doctor says. Alcohol/pill reactions are not something to mess around with.