There seem to be a few ways to use the wx.Timer; Here's one.
For some reason, this code didn't work when I tried it. The reason was the timer had to be a class member. If you put that code into the __init__() method and add self. before timer, it should work. If it doesn't, try making on_timer() a class member too. -- PabloAntonio
EVT_CLOSE & the Timer
I've had problems closing my frame, when there was a Timer running.
Here's how I handled it:
It seems that if you don't stop the timer, it won't actually quit.