The wrong wxWidgets Version is linked during the build. Normally debian/rules
specifies WX_STABLE=1 which should result in the usage of wxWidgets 3.0 which
is in stable. However, wx-config always returns wx3.2 which is then used by
CMake even if CMakeLists.txt is changed to especially require wxWidgets 3.0
and wx-config options set to --version=3.0.
Please note that there is currently a transition to wxWidgets 3.2
ongoing in Debian:
https://release.debian.org/transitions/html/wxwidgets-3.2.html
As such, it's expected that packages depending on wxWidgets upgrade to
3.2, but there seems to be considerable fallout due to breaking changes
in from 3.0 to 3.2.
In particular, slic3r is not ready due to the mentioned upstream issues.
IMHO there is really no need to open another bug report on slic3r, since
it's expected that all packages upgrade in due time, but you may want to
add a block on the wxWidgets 3.2 transition to #1022234.
slic3r currently shows as "green" in the transition table, because the
build issues were fixed, but slic3r is not compatible, so it should
block the transition.