Looking for the title (or two) of a movie

Hello everybody, i’m searching for a title of an old movie or two, with W.C. Fields.
I remember two clips. In the first, W.C. Fields, in an elevator, thinks of taking off his hat when a lady enters but takes off her wig instead.

In the next clip, W.C. Fields lights a cigarette with a cigarette lighter then throws it out the window, distracted, as if it were a match.
Thanks for your help !