Sorry to be [citation needed]-guy, but a quick Googling tells me that this is not true. In both medicine (http://www.kevinmd.com/blog/2011/02/gender-gap-physician-sal...) and law (http://www.theglasshammer.com/news/2009/02/05/the-wage-gap-p...) the pay gap is substantial, and a quick look says that they're both worse than tech.
From that first link:
Without these adjustments and just looking at a Population Survey from 2007, the New York Times reported that women doctors earn a whopping 40% less than their male colleagues. That is worse than every other profession the Times looked at. Yes, even lawyers.
I don't think wage gap is what's pushing people away...the worst case difference in tech is around 10%, which is not particularly bad compared to most fields, and for recent grads the gap is much smaller, around 4%.
I'd probably look to absolute value of wages instead for an explanation, though that wouldn't explain a difference between men and women's preferences.
If you want to bring women into the industry, you need to make the industry appealing to women. With current discriminatory practices that is just not the case, and until that changes, there won't even be an opportunity to recruit women, because those with anything less than a burning passion for the career are going to look elsewhere.
While I don't really think that discriminatory practices in tech are any worse than the general average across fields (I at least think that's an accusation that requires substantial proof), you bring up an interesting point. Most tech people that I've worked with do have a burning passion for it, and to be good in this field, it's pretty much a prerequisite.
I wonder what is blocking more women from feeling as passionate about tech as men do, especially since such passion usually emerges very early, well before one has opportunity to interact with anyone in the field (this is why I'm always skeptical of claims that teachers, professors, bosses, etc. have anything to do with this, I was programming on my own almost a decade before I ever interacted meaningfully with other programmers). Do girls spend less time with computers at the critical young age, perhaps? I wonder if perhaps the difference could have to do with time spent playing video games, at least for the current generation...