The wage gap is simply the average earnings of men and women working full time. It does not count for different job positions, hours worked or different jobs. It has nothing to do with the same job. It has nothing to do with discrimination.
That does not mean that discrimination does not exist, but simply publishing the hap between the earnings of men and the earnings of women is wildly simplistic.