Most commonly , it is stated that `` friend of Dorothy '' refers to the film The Wizard of Oz because Judy Garland , who starred as the main character Dorothy , is a gay icon .
The origin of the phrase is most commonly attributed to the movie , The Wizard of Oz because Judy Garland , who starred as the main character Dorothy , is a gay icon .