Replace the obsolete wx.PySimpleApp

Change the obsolete wx.PySimpleApp to wx.App to fix the DeprecationWarning in wxpython 2.9.
Merge pull request #2316 from vbr/patch-6

Replace the obsolete wx.PySimpleApp