Commit f39d0d91 authored by kliment's avatar kliment

Only bind paint event once in gviz

parent fa53fc90
......@@ -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=[]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment