They aren't automatically male. What utter bollocks.
I've been on a flight with a female Captain and First Officer. Perfect flight and landing.
It is still a male dominated profession, but from what I see and hear there are definitely signs that that is changing.
I'm sure the recent BA 100 years documentary said that BA now has around 200 women pilots, unless I misheard. I don't think I did though.