See the pictures in this experiment, the pictures speak themselves!
http://www.pentaxforums.com/forums/pentax-k-r-forum/123165-my-k-r-auto-focus-test.html
But the software guess works of using the WB setting to make some "corrections" seem just doesn't work out at all, which can be verified in the above. It only creates more chaos, like this new K-r reported and complained about.