port to wxWidgets 3.0.1