That's My Wife 1929
Overview: Oliver stands to inherit a large fortune from his rich Uncle Bernal, with the condition that he be happily married. But when Mrs. Hardy walks out just before Uncle Bernal is due for a visit, Stanley is pressed into duty (and into drag) to impersonate Oliver's loving spouse.