diff -r 2a70d5240300 -r 21164625b393 controls/CustomStyledTextCtrl.py --- a/controls/CustomStyledTextCtrl.py Fri Nov 23 11:01:20 2018 +0100 +++ b/controls/CustomStyledTextCtrl.py Fri Nov 23 12:13:24 2018 +0100 @@ -24,8 +24,10 @@ from __future__ import absolute_import +from functools import reduce import wx import wx.stc +from six.moves import xrange if wx.Platform == '__WXMSW__': faces = {