using wxWidgets 2.9.5, fixes #81, #82, #83, #89, #95