A new study says the gap between what men and women earn is closing in some nations , but remains as wide as ever in others .