(self, state=wx.LIST_STATE_DONTCARE)
| 165 | colItem.resized = True |
| 166 | |
| 167 | def getLastItem(self, state=wx.LIST_STATE_DONTCARE): |
| 168 | lastFound = -1 |
| 169 | while True: |
| 170 | index = self.GetNextItem(lastFound, wx.LIST_NEXT_ALL, state) |
| 171 | if index == -1: |
| 172 | break |
| 173 | else: |
| 174 | lastFound = index |
| 175 | |
| 176 | return lastFound |
| 177 | |
| 178 | def unselectAll(self): |
| 179 | sel = self.GetFirstSelected() |