Allow building and running with wxWidgets 3.1.x as well as 3.0.x.