ANN: wxPython 2.6.2.1

limodou wrote:

Great!

But I found that the new version
wx.SystemSettings_GetFont(wx.SYS_DEFAULT_GUI_FONT) is not the same as
the 2.6.0.0.

Which platform? How is it different?

And I want to know how to set a font in the whole
application, not only mainframe but also all childrent controls?

The widgets will always use the system default font (which may be different for different controls on some platforms) in order to provide a native look and feel.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

windows xp, and I'm using chinese system. In 2.6.0.0 the default
system font is '宋体',but in 2.6.2.1 is u'MS Shell Dlg 2'. It's not the
same.

My settings is:

windows xp+python 2.4+wxPython unicode

···

2006/1/12, Robin Dunn <robin@alldunn.com>:

limodou wrote:
> Great!
>
> But I found that the new version
> wx.SystemSettings_GetFont(wx.SYS_DEFAULT_GUI_FONT) is not the same as
> the 2.6.0.0.

Which platform? How is it different?

> And I want to know how to set a font in the whole
> application, not only mainframe but also all childrent controls?

The widgets will always use the system default font (which may be
different for different controls on some platforms) in order to provide
a native look and feel.

--
I like python!
My Blog: http://www.donews.net/limodou
NewEdit Maillist: http://groups.google.com/group/NewEdit

I see that there was a change made that is explicitly setting the face
name to "MS Shell Dlg 2" if the platform is NT 5 or greater. It was
done with this patch:

https://sourceforge.net/tracker/index.php?func=detail&aid=1204244&group_id=9863&atid=309863

I personally don't know if this is the right or wrong thing to do, so
you should perhaps comment about this either in the patch record at
sourceforge or on wx-dev if you have concerns.

Thanks, I see. Because I like monospaced font more than variable space
font. Do you know the way how to set a font in whole application
available?

···

--
I like python!
My Blog: http://www.donews.net/limodou
NewEdit Maillist: http://groups.google.com/group/NewEdit