Have you run the second "wx-config "-line on console ?
I think you don't have a statically linked debug versin of wxWidgets and then the appropriate directory to include is not on disk.
Here is what happened when I run it in a console ( I have the debug-version installed, but to get a statically linked version I would have to compile it myself, but statically linked wx-Widgets is quite large):
jens@debian-inspiron:~$ wx-config --version=2.8 --static=yes --unicode=yes --debug=yes --cflags
Warning: No config found to match: /usr/bin/wx-config --version=2.8 --static=yes --unicode=yes --debug=yes --cflags
in /usr/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.