I would say, "W, is there anything you need to tell me?" while you show her those comments. Sit quietly and listen. And do this in a public place like a park...not at home.
I wouldn't go out to dinner with W at all.
Then you can say, "We cannot be friends when there's a third party in this marriage. When you're done with the OM, I'd be open to your efforts at repairing the damage. I'd have to see your actions. Until you've cut ties with the OM, do not contact me at all."