http://www.perlmonks.org?node_id=385695


in reply to Re: wxPerl: Font in Wx::TextCtrl
in thread wxPerl: Font in Wx::TextCtrl

When you recompiled widgets, did you recompile STC? Didn't think so.

:-)

Yes, I did. In the beginning I wrote a shellscript to compile wxWidgets. It included STC and XRC.

*boggle* SetFont most certainly does something (it sets the font).

Yes it should, but it didn't for me. Now I think it was due to using the predefined fonts like wxSWISS_FONT and such.

Using your way (SetFont(Wx::Font->new(...))) works just fine!

Many thanks again!