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): ...@@ -55,7 +55,6 @@ class gviz(wx.Panel):
def clear(self): def clear(self):
self.lastpos=[0,0,0,0,0] self.lastpos=[0,0,0,0,0]
self.Bind(wx.EVT_PAINT,self.paint)
self.lines={} self.lines={}
self.pens={} self.pens={}
self.layers=[] 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