Make wxwidgets compile again. The preference dialog still needs fixing.