Update to wxWidgets version 3.1