Honestly I think a lot more of it has to do with the perceived status of engineers in society - particularly teenage girls are hyper aware of social status.
15 years ago in any movie a software engineer was considered the biggest loser ever, ridiculed, and unattractive. I think if I had to choose any single thing that increased female participation in engineering the most, it was the Iron Man movies, which showed a vision of high social status in an engineer and started to break the stereotypes.