From: Marco T. <mt...@so...> - 2002-09-01 09:49:57
|
> > hello > > > > i've a question concerning wxListItems. > > Is it possible to get if the item has a bold font or not? > > > > greeting > > Marco > > > > PS: please CC to me, i'm not in the list. thanks. > > > here is the basic idea: > > first get the item to wxListItem using: > wxListCtrl::GetItem() > im not sure but i think the wxLIST_MASK_TEXT > mask should be set on the item > > then get the font of the item using: > wxListItem::GetFont() > > then test the weight of the font using: > wxFont::GetWeight() & wxBOLD > > and if that returns true, it is bold.. hey matthia, this is exactly what i tried but what doesn't work, right? if not, can you give an example what he's talking about? thanks Marco |