You need to recompile wxWidgets as a static library then.
Steps:
1) Throw away everything you've done :lol:
2) Recompile wxWidgets as a static library:
mingw32-make -f makefile.gcc SHARED=0 RUNTIME_LIBS=static MONOLITHIC=1 BUILD=release UNICODE=0
3) Now you can use the C::B template with the fresh compiled static wxWidgets library.
Explanation:
Using SHARED=0 means that the wxWidgets library will be compiled as a static library.
Using RUNTIME_LIBS=static (instead of RUNTIME_LIBS=dynamic) links with the C runtime library as a static library.
Alert: Never compile a SHARED=1 with RUNTIME_LIBS=static. Evil things will happen. :lol: