I want to say sorry, and I will, but I know it's not personally my fault and I know it won't make much of a difference to your circumstances now or in the future. But still, I'm sorry you've had this experience.
I have to be honest and say this, but I think what you've experienced is very much an American culture kind-of-thing. Every time I read a comment like this, besides making me sad and angry, it tends to always come from somewhere in America.
I'm sure something similar has happened and continues to happen here in Australia, but I've seen little of it. That being said, as I sit here now in a very large, well known company, my line of sight gives me a head count of about 30 men and 2 women. This makes me sad and angry, too.
I don't know what to do about this besides encouraging women to come into the industry and protecting them in a none condescending, white-knight, women-are-weak sort of way...