Help for this page

Select Code to Download


  1. or download this
    sub OnBold {                        #    def OnBold(self, evt):    (Py
    +thon)
                my $this = shift;
             my $f = $this->GetItemFont(0);
    ...
            $f->SetWeight(wxBOLD);
            $this->SetItemFont(0, $f);
            } #1    end sub OnBold
    
  2. or download this
    Can't locate object method "GetItemFont" via package "Wx::ListCtrl" at
    + Set item
     font post.pl line 57
            MyFrame::OnBold('Wx::ListCtrl=HASH(0x23d6454)') called at Set 
    +item font
    ...
            MyFrame::__ANON__('MyFrame=HASH(0x23f2734)', 'Wx::CommandEvent
    +=SCALAR(0
    x287f36c)') called at Set item font post.pl line 76
            eval {...} called at Set item font post.pl line 76