Re: [Boa Constr] Boa 1.0 alpha Toolbar icons and upgrade of source from previous CVS
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2002-03-08 03:57:50
|
Hello Lynndon, "Harnell, Lynndon" wrote: > > Hi there > > The new Boa seems great with a lot of improvements. > > I have noticed however that when inserting toolbar images in PNG format, the > image displays in the Frame Designer window, but is blank when running the > program. bmp's work OK, but you lose the transparency properties which is a > pain. Are you calling wxInitAllImageHandlers() in your code? > > Also I have tried to run a program constructed with the previous CVS > version, and get an error message "Namerror: 'wxStaticTextCtrl' is not > defined". Log file is attached. This is because wxStaticTextCtrl is not installed on the Palette by default. It can be turned on, along with all the other examples and plugins if you switch on pluginsEnabled under Preferences-General. > <<log.txt>> > Is there an easy way of modifying the code rather than re-building the > entire frame? It is not necessary in this case, but yes, you can go through the generated source and remove (maybe change) the references to this control. At any stage you may open the Designer, if it gives an error, it should be a clue as to some lingering reference. If it opens up but gives a warning, you may cancel the session and fix what the warning was about. At no stage should Boa corrupt your code as it rolls back gracefully on errors. I have not actively used this strategy, but I tried it out a few times just now and it seems to work well :) Riaan. |