-# 11/13/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-#
import wx
import images
self.SetWindowShape()
dc = wx.ClientDC(self)
- dc.DrawBitmap(self.bmp, (0,0), True)
+ dc.DrawBitmap(self.bmp, 0,0, True)
def SetWindowShape(self, *evt):
def OnPaint(self, evt):
dc = wx.PaintDC(self)
- dc.DrawBitmap(self.bmp, (0,0), True)
+ dc.DrawBitmap(self.bmp, 0,0, True)
def OnExit(self, evt):
self.Close()
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:])