def OnFlip(self, evt): if self.currentSide == 0: self.currentSide = 1 else: self.currentSide = 0 wx.PostEvent(self, wx.EraseEvent())
def OnFlip(self, evt): if self.currentSide == 0: self.currentSide = 1 else: self.currentSide = 0 self.chooser.Clear() map(self.chooser.Append, getGameNames(self.currentSide)) wx.PostEvent(self, wx.EraseEvent())
def test_EraseEvent_ctor(self): evt = wx.EraseEvent()