Technically Wigan is in Lancashire, as are Manchester, Liverpool, Oldham, Rochdale and so on. The administrative boundaries were changed in 1972, not the historical county boundaries. For the same reason Coniston, Barrow etc are still part of Lancashire.