It's definitely not a bug, at least not a C::B one.
I just build it on Mint 12 (as the originalposter) and there are no issues.
It looks like ha hasn't wx-common installed, the package which includes the automake-macros for wx on Mint 12.
As this is an essential development tool for all automake-based wxwidgtes software, it should be a dependency of the wxwidgets dev-packages (as it is on Mint 13 and Debian).
So I think it's a gain an Ubuntu (this time packaging-) issue, which makes problems. Mint 12 and Mint 13 extensively uses Ubuntu-repos.