Make wx.lib.masked.ipaddrctrl fully ported to Python 3