From 6305f7f74776e60e249886ea35342e1113311202 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 5 Feb 2018 21:09:06 -0800 Subject: [PATCH] Merge pull request #731 from mesalu/jensgoe_patch Jensgoe patch --- wx/lib/masked/timectrl.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)