In the directory where the wx libraries are (lib/gcc_lib if you built it with gcc), you will find another directory. Its name depends on the config you build wx with (e.g. mswu for windows unicode build).
Add this directory to compiler search path.
Regards
raph