Merge pull request #2550 from joferkington/fix-wx-singleshot-timer

Using a single-shot timer with the Wx backend raises an AttributeError