Paint > Select > Invert Marquee

Inverts the selection region defined by a marquee.

The masked regions become unmasked, and the unmasked regions become masked.