Good question.
I don't know, but I think that should also be possible.
The problem might be the build-dependencies of wxwidgets: flex, bison, gettext, bc, libgtk2.0-dev, python-all, python-all-dev, python-dbg, python-central, zlib1g-dev, libjpeg62-dev, libpng12-dev, libtiff4-dev, libsm-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libesd0-dev, libgnomeprintui2.2-dev, libgconf2-dev, libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev
I don't know which of them you really need (these are the dependencies from debian control-file).