self.bmp_withmask = images.getTestStar2Bitmap()
# this mask comes from a monochrome bitmap
- self.bmp_themask = wx.BitmapFromImage(images.getTestMaskImage(), 1)
+ self.bmp_themask = images.getTestMaskBitmap()
mask = wx.Mask(self.bmp_themask)
# set the mask on our bitmap
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:])