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

Поиск
Список
Период
Сортировка
От Stefan Csomor
Тема Re: [wx-dev] Re: OSX Status / Old friend font inheritance...
Дата
Msg-id 834A07D804766B43A535AC6861D6D8677064@mail.advancedconcepts.ch
обсуждение исходный текст
Ответы Re: [wx-dev] Re: OSX Status / Old friend font inheritance...  ("Florian G. Pflug" <fgp@phlo.org>)
Список 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 по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: close-but-not-quite w/ pgadmin3.app on osx 10.3.8
Следующее
От: OpenMacNews
Дата:
Сообщение: pgAdmin3.app size?