diff -r 14b40afccd69 -r 6198190bc121 controls/CustomStyledTextCtrl.py --- a/controls/CustomStyledTextCtrl.py Tue Oct 03 16:31:31 2017 +0300 +++ b/controls/CustomStyledTextCtrl.py Thu Oct 05 16:38:49 2017 +0300 @@ -95,7 +95,7 @@ def OnMotion(self, event): if wx.Platform == '__WXMSW__': if not event.Dragging(): - x, y = event.GetPosition() + x, _y = event.GetPosition() margin_width = reduce( lambda x, y: x + y, [self.GetMarginWidth(i)