hum, well
if you did not change the links back...then I guess there is some other problem.
what you could do, is unpack your tgz, edit the spec file, and make the link to --with-wx-config right, and then pack it up again
sorry dont have any other sulution atm, but I wonder why it reads the symbolic link wrong