(self)
| 82 | self.SetForegroundColour(wx.RED) |
| 83 | |
| 84 | def isValid(self): |
| 85 | if self._validator is None: |
| 86 | return True |
| 87 | return self._validator.validate(self.GetValue()) |
| 88 | |
| 89 | def getInvalidationReason(self): |
| 90 | if self._validator is None: |
no test coverage detected