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

@@ -321,7 +321,7 @@ class ColourIndicator(wx.Window):
pen = wx.Pen(self.colour, self.thickness)
dc.BeginDrawing()
dc.SetPen(pen)
dc.DrawLine((10, sz.height/2), (sz.width-10, sz.height/2))
dc.DrawLine(10, sz.height/2, sz.width-10, sz.height/2)
dc.EndDrawing()
@@ -399,5 +399,5 @@ class DoodleApp(wx.App):
#----------------------------------------------------------------------
if __name__ == '__main__':
app = DoodleApp(0)
app = DoodleApp(redirect=True)
app.MainLoop()