Personally I'm of the opinion that in order to be a really GOOD programmer you have to live, eat, and breathe it. Part of that is spending your formative years locked away coding on a computer, eschewing things like friends, social gatherings, etc. I know I did. How many girls and young women are willing to do that? I dunno, maybe that factors into it.
But I don't see why the only option for women in technology is programming. Where I work, it seems like just about every Project Manager is a woman. And that's probably because a good PM has to do things like interact with many people, pay attention to details, schedule, organize, etc. which traditionally are things that women are good at. Why not, you know, stress those kinds of options to young women interested in tech jobs instead of trying to force women into something they really don't seem that interested in? Just because men dominate a certain industry doesn't mean there's a "problem", you know.