They apparently filmed the spanking for Wee Willie Winkie, but the test audience was so upset (Shirley was the most popular star in America through much of the Thirties) that they had to cut the scene.
I'm also unsure that the spanking in Kiss and Tell made it to the screen, though it was mentioned in at least one review.