Merge pull request #731 from mesalu/jensgoe_patch

Jensgoe patch
This commit is contained in:
Robin Dunn
2018-02-05 21:09:06 -08:00
parent ce0be7c7c4
commit 6305f7f747

View File

@@ -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)