changes needed for wxPython