my wx app crashes when launching it...
Jeff Peery
jeffpeery at yahoo.com
Tue Sep 5 21:47:07 PDT 2006
hello, I have an application that bombs out when I launch it by double clicking a file with the type that I put in the registry using innosetup. normally it launches just fine using the executable. I get this message and I am sorta stuck. the path to the images is correct, the image sizes are all correct. any ideas? thanks.
Jeff
File "wx\_gdi.pyc", line 4559, in Add
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed in ..\..\src\msw\bitmap.cpp(1677): invalid bitmap in wxInvertMask
here is what I have in the code where it bombs:
def _init_coll_imageList1_Images(self, parent):
# generated method, don't edit
parent.Add(bitmap=wx.Bitmap('Figures/addpart.png', wx.BITMAP_TYPE_PNG), mask=wx.NullBitmap)
parent.Add(bitmap=wx.Bitmap('Figures/addprocess.png',wx.BITMAP_TYPE_PNG), mask=wx.NullBitmap)
parent.Add(bitmap=wx.Bitmap('Figures/addvar.png', wx.BITMAP_TYPE_PNG), mask=wx.NullBitmap)
parent.Add(bitmap=wx.Bitmap('Figures/partList.png', wx.BITMAP_TYPE_PNG), mask=wx.NullBitmap)
here's where I create the image list:
self.imageList1 = wx.ImageList(height=16, width=16)
self._init_coll_imageList1_Images(self.imageList1)
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20060905/4d8670bf/attachment.htm
More information about the wxpython-users
mailing list