From f39d0d915e760d136d095f7342a5ded28aee345c Mon Sep 17 00:00:00 2001 From: kliment Date: Thu, 30 Jun 2011 06:59:11 +0200 Subject: [PATCH] Only bind paint event once in gviz --- gviz.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gviz.py b/gviz.py index f28dc0b..0884984 100644 --- a/gviz.py +++ b/gviz.py @@ -55,7 +55,6 @@ class gviz(wx.Panel): def clear(self): self.lastpos=[0,0,0,0,0] - self.Bind(wx.EVT_PAINT,self.paint) self.lines={} self.pens={} self.layers=[]