gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Little BMI Calc Fix + what looks like more 'SetFont'


From: Horst Herb
Subject: Re: [Gnumed-devel] Little BMI Calc Fix + what looks like more 'SetFont' problems
Date: Wed, 8 Jan 2003 22:11:56 +1100
User-agent: KMail/1.4.3

On Wed, 8 Jan 2003 18:53, Michael Bonert wrote:
> I got GnuMed working again... for a little while it seemed like
> it is totally kaputt.  I was a bit asleep on the change over with
> pypgsql versions.

Me too. Whenever somebody makes a change that requires a new 3rd party library 
version or tool, he should please advertise this pn the list. Not even I was 
aware that PyPgSQL.PgSQL.PgArray was suddenly used

This feature causes incompatibilty with other DB adapters, though this 
shouldn't really matter now that we have decided to go all the way with this 
one.

> Question:
> Is there a simple way to roll back changes I made in
> 'images_gnuMedGP_Toolbar.py'?  All the code I added in that
> file is now dead.

Of course. That is what CVS is for.

> Karsten:
> I got a whole bunch of these warnings:
>       ../src/unix/fontutil.cpp(889): assert "wxFalse" failed: unknown font
> style
>
> It looks a lot like the little problem we discussed shortly relating to:
>       self.paramsbox.SetFont(wxFont(12,wxSWISS,wxBOLD,wxBOLD,false,''))
>
> The reason I didn't know there were so many is: I get a dialog box when
> the first one happens and the option to ignore further ones that are
> similar (until now I'd avoided seeking out trouble and had always clicked
> to ignore).  I did a --> grep -R "SetFont" * <-- ... there are many of
> them in many modules.  Have others seen this problem?

I get the same annoying problem. I would strongly encourage the following: if 
any one module decides to use a specific font, colouring etc - please define 
these specifics as variables in one single place in the module, well 
documented in the module header, and then use these variables.

Horst




reply via email to

[Prev in Thread] Current Thread [Next in Thread]