Using wxTimers

Hello everybody
    I'd like to have a timed Python object (really a not graphical object). I did the following.

    * I defined a class derived from wx.EvtHandler
    * I create a timer object inside that class with:
          o timerID = wx.NewId()
                    self.timer = wx.Timer(self, timerID)
                    wx.EVT_TIMER(self, timerID, self.OnTimeOut)
    * and defined the event handling procedure
    * In a class method. I start the timer with the option TIMER_ONE_SHOT =1
    * In the same method I launch a very long activity and wait for its
      termination or for the timer event if the activity does not end in
      time

    The problem is that I never receive the timer event.
    Am I using wxPython in a right way? Can I use the wxEvtHandler class to implement non graphical objects?

Thanks for your attention
Regards

            angelo mose' pozzi