sub OnBold { # def OnBold(self, evt): (Python) my $this = shift; my $f = $this->GetItemFont(0); # my $f = Wx::Font->new(12, -1, wxNORMAL, wxBOLD, 0, 'arial'); $f->SetWeight(wxBOLD); $this->SetItemFont(0, $f); } #1 end sub OnBold