From: Mattia B. <mb...@ds...> - 2002-03-14 20:41:30
|
> Is it possible to get TextAttr in WxPerl to work? I tried to use it on ^^^^^^ wxPerl, BTW > my textctrl to make some parts of the text I got in different colours, > but there doesn't seem to be a TextAttr sub. No, it is not wrapped yet; it is present only in wxWindows 2.3.x, and binary distributions are compiled against 2.2.x, so it would not have been available anyway ( in the binary distributions ). > That's what I tried (and various other ways that didn't work): > $textctrl->SetDefaultStyle(Wx::TextAttr(wxRED, wxLIGHT_GREY)); Regards Mattia |