def OnInit(self):
        # Twisted Reactor Code
        reactor.startRunning()
        EVT_TIMER(self,999999,self.OnTimer)
        self.timer=wxTimer(self,999999)
        self.timer.Start(250,False)
        # End Twisted Code