If you follow the wxSmith tutorial... well... the workaround for this should be at the end of tutorial but I forgot to add this.
The easiest (and the best) fix: try to compile wxWidgets two times - first time with DEBUG configuration, second time with RELEASE so if you setup your wx dir properly it will work.
BYO