reverted changes from wxpython 2.9 back to 2.8