The Danish Girl tells the story of the painter Einar Wegener, who had the world’s first gender-reassignment surgery and became Lili Elbe. But his wife Gerda had a fascinating life and career of her own