Ejemplo n.º 1
0
 def OnLeftDown(self, evt):
     TextEditMixin.OnLeftDown(self, evt)
     # ^-- that calls evt.Skip() to select the right row, but here Skip()
     # goes to the containing panel, so we must select the row manually
     row, flags = self.HitTest(evt.GetPosition())
     if row != self.curRow:
         self._SelectIndex(row)
Ejemplo n.º 2
0
    def OnLeftDown(self, event=None):
        TextEditMixin.OnLeftDown(self, event=None)

        if event:
            event.Skip()