directed by william wyler and featuring music by max steiner , the movie stars henry fonda and the incomparable bette davis , who won the best actress oscar for her performance in spite of being given the role as compensation for failing to land the part of scarlett o ' hara in gone with the wind .