Re: [Boa Constr] Icons get lost
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2001-05-24 23:04:44
|
Hello Patrick, ----- Original Message ----- From: "Patrick K. O'Brien" <po...@or...> To: "Boa Constructor Users" <boa...@li...> Sent: Thursday, May 24, 2001 11:43 PM Subject: RE: [Boa Constr] Icons get lost > Did you mean to say ImageStore.py (as opposed to ImageSource.py)? I'm > working with 0.0.5, btw, not the CVS version. Argh, I did indeed intend to say ImageStore.py. Thanks for clearing it up. Riaan > > --- > Patrick K. O'Brien > Orbtech > "I am, therefore I think." > > -----Original Message----- > From: boa...@li... > [mailto:boa...@li...]On Behalf Of Riaan > Booysen > Sent: Thursday, May 24, 2001 7:07 AM > To: Sasa Zivkov; boa...@li... > Subject: Re: [Boa Constr] Icons get lost > > Hi Sasa, > > ----- Original Message ----- > From: "Sasa Zivkov" <sa...@sp...> > To: <boa...@li...> > Sent: Wednesday, May 23, 2001 6:21 PM > Subject: [Boa Constr] Icons get lost > > > > Hi, > > > > I just have tried Boa Constructor... looks quite impressive! > > > > What happens to me is that after some period of time all icons in toolbars > > just disappear. > > > > I am using the latest version (extracted today from CVS). > > Platfrom: win98, python 2.1 > > This is a resource problem. > > The first big bug is that you are running win98 instead of an OS (like NT or > 2000) ;) > > wxPython does not release all the GDI objects it uses (mainly bitmaps). For > normal wxPython applications this isn't really a problem, but Boa uses many > bitmaps and widgets. > > In ImageSource.py change > return wx.wxBitmap(filename, wx.wxBITMAP_TYPE_BMP) > to > return wx.wxImage(filename, > wx.wxBITMAP_TYPE_BMP).ConvertToBitmap() > > and similarly for .jpg images. > > This uses less resources. The only other suggestion is to have as few other > applications open as possible when running Boa. > > Riaan > > > > > -- Sasa > > > > _______________________________________________ > > Boa-constructor-users mailing list > > Boa...@li... > > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users > > > > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users > > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users > |