dc = wx.ClientDC(self.win)
dc.SetPen(wx.Pen("RED"))
dc.SetBrush(wx.Brush("RED"))
- dc.DrawCircle(evt.GetPosition(), 4)
+ pos = evt.GetPosition()
+ dc.DrawCircle(pos.x, pos.y, 4)
#----------------------------------------------------------------------
if __name__ == '__main__':
import sys,os
import run
- run.main(['', os.path.basename(sys.argv[0])])
+ run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])