People didn't start calling it candy corn until the 1940s, when trick-or-treating took off after WWII.