Ubuntu 16.04 LTS comes with libwxgtk3 only, however you might be able to install what you need from the repositories of Ubuntu 15.10, just be aware that the following is not a recommended way of solving this. Search and download the following packages from http://packages.ubuntu.com for the wily
release. Best to download them into a separate folder.
# Note: if you're not planning development you can skip the dbg and dev packages
libwxbase2.8-0_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
libwxbase2.8-dbg_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
libwxbase2.8-dev_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
libwxgtk2.8-0_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
libwxgtk2.8-dbg_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
libwxgtk2.8-dev_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
wx2.8-doc_2.8.12.1+dfsg2-2ubuntu2_all.deb
wx2.8-headers_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
After you got them all install them with dpkg -i <package-name>.deb
. They might trow you an error because of dependencies, then simply install that package mentioned first and redo the step.