busunsl has asked for the wisdom of the Perl Monks concerning the following question:
Wx::STC does not work any longer, the program just segfaults.
That is no major problem, as the perl syntax highlighting was not as good as I had hoped.
So I switched back to Wx::TextCtrl.
And now the question: How do I change the font of the widget?
SetFont does nothing.
SetDefaultStyle and SetStyle have no effects on text that is typed.
The documentation and the examples don't tell anything about setting the font :-(