Can anyone tell me what's wrong with my code?
I want to add an icon to my application window (sizer)
so I have to create a staticBitmap as far as I understood.
So I used this code, but it always crashes during the
staticBitmap creation.
wx.StaticBitmap needs a parent, for example the window in which you want to place the bitmap (icon).
Just out of curiosity... why are you using such old versions of both python and wxpython?
a lot of problems have been fixed in the last years...
Peter.
···
On Fri, 24 Jun 2005 10:18:16 +0300, <sturm@rtfs.org> wrote:
Hi!
Can anyone tell me what's wrong with my code?
I want to add an icon to my application window (sizer)
so I have to create a staticBitmap as far as I understood.
So I used this code, but it always crashes during the
staticBitmap creation.