diff -r 750eeb7230a1 -r c02818d7e29f controls/CustomStyledTextCtrl.py --- a/controls/CustomStyledTextCtrl.py Mon Aug 14 22:23:17 2017 +0300 +++ b/controls/CustomStyledTextCtrl.py Mon Aug 14 22:30:41 2017 +0300 @@ -82,12 +82,12 @@ return None class CustomStyledTextCtrl(wx.stc.StyledTextCtrl): - + def __init__(self, *args, **kwargs): wx.stc.StyledTextCtrl.__init__(self, *args, **kwargs) - + self.Bind(wx.EVT_MOTION, self.OnMotion) - + def OnMotion(self, event): if wx.Platform == '__WXMSW__': if not event.Dragging():