SetFont in TextCtrl

Hello

I'm having some weird issues with SetFont when applied to a TextCtrl.
While the control itself seems to scale accordingly to the size of the
font, the font seems to be ok, and the SetFont function returns true,
all I'm seeing is a (what looks to me under WinXP) a 12-point bold
Sans Serif.

This does not change even though I'm creating fonts that are mapped to
say, Arial at 20 pixels tall or such.

Any help would be appreciated.

-F

Federico Ceccatto wrote:

Hello

I'm having some weird issues with SetFont when applied to a TextCtrl.
While the control itself seems to scale accordingly to the size of the
font, the font seems to be ok, and the SetFont function returns true,
all I'm seeing is a (what looks to me under WinXP) a 12-point bold
Sans Serif.

This does not change even though I'm creating fonts that are mapped to
say, Arial at 20 pixels tall or such.

Please provide a small sample app that shows the problem.

ยทยทยท

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

I'm sorry, my bad, this was due to some initialization problems with
my subclassed XMLResourceHandlers.