If women scale back the hours they work, take time off from work for maternity leave, exit the work force for a period of time, or make other decisions that shift their time towards children and away from work, then they won't advance as much in their careers. Even for the exact same position (and not simply "comparable" jobs), salaries are strongly affected by factors like seniority, or even simply the hours put in. If women choose to give up some of that, and the corresponding salary increase, in exchange for something that they value more, we should neither try to stop them from doing so nor "fix" any salary discrepancy that results.