Hi, I use Wx::Font http://docs.wxwidgets.org/stable/wx_wxfont.html#wxfont
and SetFont method inherited from Wx::Window It works for me setting 'courier' Example # Get current font my $font = $myTextCtrl->GetFont; # Set font if ( $font->SetFaceName('Courier') ) { $myTextCtrl->SetFont($font); } 2010/8/3 Daniel Carrera <dcarr...@gmail.com> > Hi, > > Is there a space to make Wx::TextCtrl use *monospace* font? This is > important to display source code and ASCII art for example. I've > looked here: > > http://docs.wxwidgets.org/stable/wx_wxtextctrl.html > > I don't see anything for "mono" :-( But I'm sure there is a solution. > I can't imagine that I am the first person in history who wants to > display source code with wx. > > Daniel. > -- > Intolerant people should be shot. >