Avoid including wx GUI files in stdafx.h.

This should make it easier to cut out gui linkage for a headless version.