(self, event)
| 92 | return self._validator.getReason(self.GetValue()) |
| 93 | |
| 94 | def OnText(self, event): |
| 95 | currentValue = self.GetValue() |
| 96 | if currentValue == self._storedValue: |
| 97 | event.Skip() |
| 98 | return |
| 99 | if currentValue == '' or re.match(r'^\d*\.?\d*$', currentValue): |
| 100 | self._storedValue = currentValue |
| 101 | self.updateColor() |
| 102 | event.Skip() |
| 103 | else: |
| 104 | self.ChangeValue(self._storedValue) |
| 105 | |
| 106 | def GetValueFloat(self): |
| 107 | return strToFloat(self.GetValue()) |
nothing calls this directly
no test coverage detected