Re: [wx-dev] Re: OSX Status / Old friend font inheritance... - Mailing list pgadmin-hackers

From Stefan Csomor
Subject Re: [wx-dev] Re: OSX Status / Old friend font inheritance...
Date
Msg-id 834A07D804766B43A535AC6861D6D8677064@mail.advancedconcepts.ch
Whole thread Raw
Responses Re: [wx-dev] Re: OSX Status / Old friend font inheritance...
List 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@phlo.org]
> Sent: Sonntag, 10. April 2005 19:38
> To: Andreas Pflug
> Cc: pgadmin-hackers@postgresql.org; wx-dev@lists.wxwidgets.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


pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: close-but-not-quite w/ pgadmin3.app on osx 10.3.8
Next
From: OpenMacNews
Date:
Subject: pgAdmin3.app size?