busunsl has asked for the wisdom of the Perl Monks concerning the following question:

Now that packing wxPerl applications with PAR finally works comes the next problem:

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 :-(