I made a change to the wxwidgets.cbp file to allow a simple change between Unicode & ANSI if CFG was set to u.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="2" />
<Project>
<Option title="wxWidgets application" />
<Option pch_mode="0" />
<Option compiler="0" />
<Build>
<Target title="default">
<Option output="wxwidgets.exe" />
<Option type="0" />
<Option compiler="0" />
<Option includeInTargetAll="1" />
<Option projectResourceIncludeDirsRelation="0" />
</Target>
<Environment>
<Variable name="WX_CFG" value="" />
</Environment>
</Build>
<Compiler>
<Add option="-pipe" />
<Add option="-mthreads" />
<Add option="-Winvalid-pch" />
<Add option='-include "wx_pch.h"' />
<Add option="-D__GNUWIN32__" />
<Add option="-D__WXMSW__" />
<Add option="-DWXUSINGDLL" />
<Add option="-DUSE_PCH" />
<Add directory="$(#WX.include)" />
<Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)\msw$(WX_CFG)" />
<Add directory="$(#WX)\contrib\include" />
</Compiler>
<ResourceCompiler>
<Add directory="$(#WX.include)" />
</ResourceCompiler>
<Linker>
<Add library="wxmsw26" />
<Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)" />
<Add directory="$(#WX.lib)" />
</Linker>
<Unit filename="wx_pch.h">
<Option compilerVar="CPP" />
<Option link="0" />
<Option weight="0" />
<Option target="default" />
</Unit>
</Project>
</CodeBlocks_project_file>
Unfortunately, I don't know where the same info is stored for the wxSmith wizzard. Hope this helps.
jmccay