Let's see: The Sig P229 was designed to be a .40 S&W. The P228 used a stamped slide that couldn't tolerate the forces of the .40 S&W cartridge, so they machined the P229 slide from bar stock to strengthen it. They also made two different P226 models for a while. The 9mm had a stamped slide, the .40 had a machined slide.
The P239 was designed after the .40 S&W was an established cartridge. Although it fires both calibers, you could say that it was designed around the .40.
AFAIK, the Smith and Wesson 40xx series of pistols were converted 9mm guns. In that case, they probably didn't need to strengthen the slide since the 59xx series pistols already had a very heavy slide.
The Beretta 92 F/S had already been strengthened to tolerate NATO ammunition. If you get to put a 92F/S next to a 92 F, you can see that parts of the slide are thicker, and Beretta installed a block under the left grip so that if the slide failed, it wouldn't blast off the back of the gun and hit the shooter in the eye. I think they left the design alone for the .40.
One failure I've heard of was the Browning High Power. This pistol has a trigger bar that passes under the firing chamber, in between the feed ramp and the frame. The .40 S&W used a larger chamber, which meant the end of the barrel had to be wider to accomodate the chamber. This intruded on the space for the trigger bar, so they made a cut next to the ramp for the trigger bar. This gave it a noticeable weak spot in the chamber wall. I'm told that some of these barrels failed catastrophically, but I can't provide links and never saw one myself.
I don't know about Glock and Heckler & Koch.