- partial port to wxwidgets 3.0