Normally you do not need to set the "include" and the "lib" part in the "wx" global variable. "base" is enough, if it points to the basedirectory of wxWidgets (the one with "arts", "build" ... in it).
Can you please post the full command-line from compiler ?
To make it visible, go to "Settings -> Compiler and Debugger ... -> Other Settings" (that's the rightmost tab).
Choose "Full Command Line" from "Compiler Logging:" and start a rebuild.