<Tr> <Th> Songwriter (s) </Th> <Td> Gus Kahn </Td> </Tr> <Tr> <Th> Composer (s) </Th> <Td> Isham Jones </Td> </Tr> <P> "It Had to Be You" is a popular song written by Isham Jones, with lyrics by Gus Kahn . It was first published in 1924 . </P> <P> The song was performed by Ruth Etting in the 1936 short film Melody in May, by Priscilla Lane in the 1939 film The Roaring Twenties, by Ginger Rogers and Cornel Wilde in the 1947 film It Had to Be You, in the 1944 film Mr. Skeffington, by Danny Thomas in the 1951 film I'll See You in My Dreams (based loosely upon the lives of Gus Kahn and his wife Grace LeBoy Kahn), and Joanne Dru sang a portion of it in 1955's Hell On Frisco Bay . Gene Kelly and Marie McDonald danced to it in the 1947 film Living in a Big Way (while it was being sung by a mixed group), and it was also performed by Dooley Wilson in the 1942 film Casablanca, George Murphy in Show Business (1944), Betty Hutton in the 1945 film Incendiary Blonde, and Diane Keaton in the 1977 film Annie Hall . It also appeared in the 1992 film A League of Their Own by Megan Cavanagh . </P>

When was the song it had to be you written