def motion_callback(self, points): wx.PostEvent(self, wx_viewer.ViewerUpdateEvent(points))
def action_callback(O): wx.PostEvent( O, wx_viewer.ViewerUpdateEvent(data=O.tardy_model.sites_moved()))