Rather than getting into the issue of who was more dominant in a field at a given time, let's look at another field. Literally all early psychologists were men. Today the field is about 70% women with a rapidly increasing "gender gap." Do you think that's because 'men are discouraged from entering the field by society'? Of course not. Should we start trying to 'correct' this? Again, of course not. We should of course always ensure that men and women have equality of opportunity to do as they see fit, but differences in outcome alone do not mean anything.
Scandinavia is the most gender equal region in the world. And one of the many discoveries they made on the way there is that when there is a major push to get people into atypical roles there tends to be a roughly constant increase in participation. After that push fades everything rapidly converges back to where it was before. The constant aspect is also interesting in that it seems to suggest there is no self feedback mechanism as would be implied by simple social differences causing a change.
Some of the biggest companies for trying to get 'x into computing', including women, have been Google, Apple, and Intel. These are the exact same companies that were also engaging in an illegal anti-competitive collusion cartel whereby the agreed to not try to recruit each employees from one another. They were fully aware of the consequences of this action. Eric Schmidt of Google ironically wrote in an email, "[discussion of this agreement should be done] verbally, since I don't want to create a paper trail over which we can be sued later." [2]
As Schmidt was well aware of the possibility of, they've now faced losses at trial in the hundreds of millions of dollars. So why would these companies voluntarily engage in such a high risk behavior? Because it kept wages down. What does pushing for 'get x into computing' do? It would markedly increase the labor pool without a proportional increase in the number of jobs. It would help drive wages substantially down.
[1] - https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_L...
[2] - https://en.wikipedia.org/wiki/Eric_Schmidt#Role_in_illegal_n...