The source formatter has nothing to do with the auto indent function. One is a plugin, the other is an editor functionality.
I am not sure if that can be configured differently (never bothered, because I'm fine with ANSI style), but possibly it can... must look in the wxScintilla docu for that. If that is the case, you should be able to change that behaviour by modifying one line of code.