How to uninstall wxWidgets
Uninstalling from sources
If you compiled wxWidgets on your own, go to the sources directory and run make uninstall (as root).
If you deleted the sources directory, you can download it again, run configure and then run make uninstall (again, as root).
Forcing wxWidgets out of the system
Last, the quick'n'dirty deltaHF (TM) way (only to be used if the above two failed):
rm -f /usr/bin/wx* rm -r /usr/include/wx* rm -r /usr/lib/wx rm -f /usr/lib/libwx* rm -f /usr/local/bin/wx* rm -r /usr/local/include/wx* rm -r /usr/local/lib/wx rm -f /usr/local/lib/libwx* ldconfig