Re: [wx-dev] Re: OSX Status / Old friend font inheritance...

From: "Stefan Csomor" <csomor(at)advancedconcepts(dot)ch>
To: <wx-dev(at)lists(dot)wxwidgets(dot)org>, "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>
Cc: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [wx-dev] Re: OSX Status / Old friend font inheritance...
Date: 2005-04-11 15:47:30
Message-ID: 834A07D804766B43A535AC6861D6D8677064@mail.advancedconcepts.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

I think the reason is, that the default font is wxSYS_DEFAULT_GUI_FONT
and while all controls will get the correct sized font according to
their window variant, the toplevel window will not and stays on the same
font (in this case 'small system') while the notebook get the 'normal
system' font.

as I don't have a buildable situation for pgadmin on my system, could
you please try out whether adding

DoSetWindowVariant( m_windowVariant) ;

in toplevel.cpp line 1204 , just in front of the m_macFocus = NULL ;

solves the problem ?

Nice trackdown , thanks :-)

Stefan

> -----Original Message-----
> From: Florian G. Pflug [mailto:fgp(at)phlo(dot)org]
> Sent: Sonntag, 10. April 2005 19:38
> To: Andreas Pflug
> Cc: pgadmin-hackers(at)postgresql(dot)org; wx-dev(at)lists(dot)wxwidgets(dot)org
> Subject: [wx-dev] Re: [pgadmin-hackers] OSX Status / Old friend font
> inheritance...
>
> Hi
>
> Here is a snapshot of the non-derived dialog from xrcsample.app
>
> The values in bottom textfield are: "dlg: 26, txt: 16"
>
> greetings, Florian Pflug

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2005-04-11 15:58:16 Re: close-but-not-quite w/ pgadmin3.app on osx 10.3.8
Previous Message OpenMacNews 2005-04-11 14:55:41 Re: close-but-not-quite w/ pgadmin3.app on osx 10.3.8