Wainwright (18-7) yielded five hits in seven scoreless innings with a walk and six strikeouts.
After Wainwright threw 98 pitches, relievers Trever Miller, Jason Motte, Dennys Reyes and Kyle McClellan finished the six-hitter.
Albert Pujols led the way with three hits -- including two homers, one a two-run shot, and three RBI.
Colby Rasmus had two hits and one RBI, while Matt Holliday added a sacrifice fly for the Cardinals, who have won 10 of 12.
Milwaukee's lone run scored on an eighth-inning homer by Felipe Lopez.
Five others had one hit each for the Brewers, who have lost seven of nine.
Copyright 2009 by United Press International.