When Can It Be Waxed?

So if paint takes all this time to cure, how does the factory do it? I don't remember hearing not to wax a new car.