Updates for new/old DC method signatures, also updated setup.py for

new py2exe


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-28 04:51:08 +00:00
parent 68c0610dae
commit b68eef002d
4 changed files with 8269 additions and 10342 deletions

View File

@@ -174,7 +174,7 @@ class DoodleWindow(wx.Window):
dc.BeginDrawing()
dc.SetPen(self.pen)
pos = event.GetPosition()
coords = (self.pos, pos)
coords = (self.pos.x, self.pos.y, pos.x, pos.y)
self.curLine.append(coords)
dc.DrawLine(*coords)
self.pos = pos