Download and Install CodeLite.
Download and install TDM-GCC.
Download and install wxWidget.

Now go to the directory wxWidget\build\msw here we are going to first of all claen the project just in case.

mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release clean
Then the library can be built by running:

mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release
If the computer compiling the wxWidget library has mutiple instalations of mingw it is important to make sure that the mingw32-make used is the one which was installed with TDM-GCC or you will compile the library with the wrong compiler. Changes in the environmental variables may be required.

Once the library has finish compiling then the IDE can be started. If it is the first time runnin gthe IDE it iwll go through some setup process in which it will locate the compiler automatically.

Now creaet a form wxwidget form project and the next before compiling you have to set some environmental variables so teh compiler can find the includes and the libraries. Settings->EnvironmentalVariables

It should look like this:

CodeLiteDir=C:\Program Files\CodeLite

Or similar depending on your folder tree.

No the code can be compiled and run.