What's wrong with the wizard to a new project?
wxWidgets can be built in many flavours - depending on the flags you choose to compile. It seems you didn't compile a debug version of wxWidgets but selected within the wizard to use such. This will not work, obviously.
So the message is very clear...?! Or what is your question, actually?