diff --git a/wx/lib/masked/timectrl.py b/wx/lib/masked/timectrl.py index 6012304c..0ee316c4 100644 --- a/wx/lib/masked/timectrl.py +++ b/wx/lib/masked/timectrl.py @@ -44,6 +44,10 @@ # o wxMaskedTextCtrl -> masked.TextCtrl # o wxTimeCtrl -> masked.TimeCtrl # +# 2/4/2018 - jensgoe (mail@jensgoepfert.de) +# o wx.Validator_IsSilent() -> wx.Validator.IsSilent() +# + """ *TimeCtrl* provides a multi-cell control that allows manipulation of a time @@ -1339,7 +1343,7 @@ class TimeCtrl(BaseMaskedTextCtrl): self.SetValue(newvalue) except ValueError: # must not be in bounds: - if not wx.Validator_IsSilent(): + if not wx.Validator.IsSilent(): wx.Bell() ## dbg(indent=0)