(self, event)
| 65 | self.searchTimer.Start(sFit.serviceFittingOptions["marketSearchDelay"], True) |
| 66 | |
| 67 | def startDrag(self, event): |
| 68 | row = self.GetFirstSelected() |
| 69 | |
| 70 | if row != -1: |
| 71 | data = wx.TextDataObject() |
| 72 | dataStr = "market:" + str(self.active[row].ID) |
| 73 | pyfalog.debug("Dragging from market: " + dataStr) |
| 74 | |
| 75 | data.SetText(dataStr) |
| 76 | dropSource = wx.DropSource(self) |
| 77 | dropSource.SetData(data) |
| 78 | DragDropHelper.data = dataStr |
| 79 | dropSource.DoDragDrop() |
| 80 | |
| 81 | def itemActivated(self, event=None): |
| 82 | # Check if something is selected, if so, spawn the menu for it |
nothing calls this directly
no outgoing calls
no test coverage detected