From: Mattia B. <mb...@ds...> - 2002-03-21 20:20:37
|
Sorry for the delay > > FROM: Mattia Barbon > > DATE: 03/08/2002 13:34:01 > > SUBJECT: [wxperl-users] New binary package for Win32 > > > > http://prdownloads.sourceforge.net/wxperl/Wx-0.10-wxmsw2.2.9-win32-1.zip > > > > It is 0.10; the only change is that I recompiled wxWindows > > with support for the comctl32.dll shipped with IE 3.0; this should > > enable some features of wxListCtrl ( and probably wxTreeCtrl ) > > that were disabled. > > thank you very much for that!!! > > but i've problems with it... > don't know if it's a bug or a mistake from my side > > my listctrl is in report mode... > the headerlabels appear in the same style as the the top item... > > shouldn't be, right? No, it shouldn't > my code (just inserting a bold item): > > ### start > my $item = Wx::ListItem->new; > $item->SetId(0); > $item->SetFont(Wx::Font->new(8, wxDEFAULT, wxNORMAL, wxBOLD)); > > my $id = $list->InsertItem($item); > > $list->SetItem($id, 0, 'a'); > $list->SetItem($id, 1, 'b'); > $list->SetItem($id, 2, 'c'); > ### end I can reproduce that with wxPerl compiled aginst wxWindows 2.2, however the bug disappears with wxWindows 2.3, so it appears to be a bug in wxWindows itself. > another question concerning my code: > is it possible to just set an item bold > (withhout creating a whole Wx::Font) No. Regards Mattia |