X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c878ceeae8d69f231477ef0f207766093547ab86..72b1ad5c2e42a19e24460c196b47ea54e34d8c2c:/wxPython/wx/lib/masked/ipaddrctrl.py diff --git a/wxPython/wx/lib/masked/ipaddrctrl.py b/wxPython/wx/lib/masked/ipaddrctrl.py index 9fea97faa6..4182c68281 100644 --- a/wxPython/wx/lib/masked/ipaddrctrl.py +++ b/wxPython/wx/lib/masked/ipaddrctrl.py @@ -83,7 +83,7 @@ class IpAddrCtrl( BaseMaskedTextCtrl, IpAddrCtrlAccessorsMixin ): if not kwargs.has_key('mask'): kwargs['mask'] = mask = "###.###.###.###" if not kwargs.has_key('formatcodes'): - kwargs['formatcodes'] = 'F_Sr<' + kwargs['formatcodes'] = 'F_Sr<>' if not kwargs.has_key('validRegex'): kwargs['validRegex'] = "( \d| \d\d|(1\d\d|2[0-4]\d|25[0-5]))(\.( \d| \d\d|(1\d\d|2[0-4]\d|25[0-5]))){3}" @@ -184,4 +184,6 @@ class IpAddrCtrl( BaseMaskedTextCtrl, IpAddrCtrlAccessorsMixin ): BaseMaskedTextCtrl.SetValue(self, value) ## dbg(indent=0) - +i=0 +## Version 1.1 +## Made ipaddrctrls allow right-insert in subfields, now that insert/cut/paste works better