(self)
| 76 | self.ChangeValue(valToStr(value)) |
| 77 | |
| 78 | def updateColor(self): |
| 79 | if self.isValid(): |
| 80 | self.SetForegroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOWTEXT)) |
| 81 | else: |
| 82 | self.SetForegroundColour(wx.RED) |
| 83 | |
| 84 | def isValid(self): |
| 85 | if self._validator is None: |
no test coverage detected