mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Don't use apply()
This commit is contained in:
@@ -149,7 +149,7 @@ class MyCanvas(wx.ScrolledWindow):
|
||||
dc.SetPen(wx.Pen('MEDIUM FOREST GREEN', 4))
|
||||
for line in self.lines:
|
||||
for coords in line:
|
||||
apply(dc.DrawLine, coords)
|
||||
dc.DrawLine(*coords)
|
||||
|
||||
|
||||
def SetXY(self, event):
|
||||
|
||||
Reference in New Issue
Block a user