Re: Further crashes - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: Further crashes
Date
Msg-id 405D67CB.2070103@pse-consulting.de
Whole thread Raw
In response to Re: Further crashes  ("Stefan Csomor" <csomor@advancedconcepts.ch>)
Responses Re: Further crashes
List pgadmin-hackers
Stefan Csomor wrote:

>Hi
>
>
>
>>This is probably our well-known font inheritance problem. Pplease verify
>>this by adding SetFont(parent->GetFont()) in src/mac/control.cpp line
>>397 (after SetSize....)
>>
>>
>
>The current state in CVS would not allow this to work, as I have not yet
>committed the changes to textctrl needed for SetFont. I hope to have all
>changes ready for the new gui implementation based on composite windows and
>HIViews this week.
>
>

So we'll have to wait a bit. Stefan, it appears to me that that
MacPostControlCreate is just the right place to set the font to the
parent's font as default. I'm not sure about colours, maybe actually
InheritAttributes() is the correct thing to put here
(ShouldInheritColours should do the job, right?)

Regards
Andreas



pgadmin-hackers by date:

Previous
From: "Stefan Csomor"
Date:
Subject: Re: Further crashes
Next
From: Jean-Michel POURE
Date:
Subject: Re: pgadmin3 accepted into Debian