(self, stuff)
| 37 | self.mask = wx.LIST_MASK_TEXT |
| 38 | |
| 39 | def getImageId(self, stuff): |
| 40 | if isinstance(stuff, TargetWrapper): |
| 41 | try: |
| 42 | styleData = STYLES[stuff.lineStyleID] |
| 43 | except KeyError: |
| 44 | return -1 |
| 45 | img = self.fittingView.imageList.GetImageIndex(styleData.iconName, 'gui') |
| 46 | return img |
| 47 | return -1 |
| 48 | |
| 49 | def getToolTip(self, stuff): |
| 50 | if isinstance(stuff, TargetWrapper): |
nothing calls this directly
no test coverage detected