wxwidgets compatibility closes #60