title: How to connect a wxWidgets timer to an event using wxEvtHandler::Connect
body: <p>I have been trying to connect my timer to an a function.
  In my derived class
  What i am doing is </p>
  
  <pre><code>Timer-&gt;SetOwner(this,wxID_Timer);
  Timer-&gt;Connect(wxID_Timer,wxTimerEventHandler( Window::OnUpdate ), NULL, this );
  </code></pre>
  
  <p>Where my declaration of OnUpdate is </p>
  
  <pre><code>void OnUpdate( wxTimerEvent&amp; event );
  </code></pre>
  
  <p>Can any one tell me what is wrong here, why is  OnUpdate not being called periodically after i start the timer?.
  Please and Thank you. </p>
  
  <p>
  Also I am not using static event Tables.The other answer on wxTimer is not helping me. </p>