McShane, mcdonald, macgregor, campbell etc. are not gaelic spellings of these names they are english spellings.

MACGHRIOGAIR - Gaelic.
MACGREGOR - English.