Recent research has demonstrated the the brains of male and female fetuses develop differently, meaning not all observed mental differences are socially transmitted. A key quote:
By linking scans taken before and after birth, the team reports that measurable differences in how male and female brains grow can already be seen by mid-pregnancy.
No kidding. Humans evolved to have complementary abilities in men and women as there was (and probably still is) species survival value in those differences. Hat tip to Instapundit for the link.