"unknown font style" error

Oops, wrong parameter order (duh). Darn, I knew I shouldn't have hit
"send." =P

roger@imr-net.com 5/2/2006 12:21:14 PM >>>

This call works fine under GTK, but results in an "unknown font style"
error on my XP box:

    font = wx.Font(8, wx.NORMAL, wx.SWISS, wx.NORMAL)

I've also tried the wx.FONTFAMILY_* versions of the constants. I
guess
the default swiss font isn't a TrueType font and doesn't have a size 8
or something? I'm just trying to get a small, sans-serif font. What
is
the easiest way to do it that will work under GTK and Windows, if the
users only have the default fonts installed?

···

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org

For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org

** CRM114 Global Whitelisted by: From: "Roger Mayes"
<roger@imr-net.com> **