Only bind paint event once in gviz

master
kliment 2011-06-30 06:59:11 +02:00
parent fa53fc900b
commit f39d0d915e
1 changed files with 0 additions and 1 deletions

View File

@ -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=[]