From The New York Times blog [1]:
But pay discrimination and choices to take time out of paid employment are complementary rather than competing explanations of gender differences in pay. Women who are paid less — or who anticipate fewer opportunities for promotion — than their male counterparts are more likely to drop out of paid employment. Their choices represent, in part, a response to discrimination.