Also, there's an error in wxWidgets wizard when you choose version 2.8 instead of 3.0; it should be in Compiler Settings > Other options
`wx-config --version=2.8 --cflags`
[[if (GetCompilerFactory().GetCompilerVersionString(_T("gcc")) >= _T("4.8.0")) print(_T("-Wno-unused-local-typedefs"));]]
and in Linker settings > Other linker options
`wx-config --version=2.8 --libs`
By not including the --version=2.8, it would assume it needs the highest version available, and not the one of your preconfigured upon initial run.