You don't necessarily need the latest version of Code::Blocks, the latest ANSI version that you can grab should do. The issue is about the build being dependent on global uservariables, which are not supported in RC2.
You can even build Code::Blocks using RC2, if you can be bothered to edit the include and library paths for every target (that would be about 2 dozen edits). It is not the nice and gentle way, but it is possible.
You would have to replace all instances of $#cb with the location of your sources, and all instances of $#wx with the location of your wxWidgets sources. Although project hacking is giving me the creeps, this could probably be done easiest with text search/replace in an editor.
As for the actual procedere, the whole thing boils down to compiling wxWidgets with UNICODE=0 (and any other flags you want), and compiling Code::Blocks with the same flags, accordingly (this is basically changing one or two build flags to non-unicode, and hitting the blue gear).
Please do note that hardly anyone uses ANSI any more, and we're not actively supporting it any longer for a few months now. We don't deliberately break the ANSI build of course, but we don't put extra work into it, either.