wxTreeCtrl::GetItemFont() returns null font - setting it again increases font size
|Reported by:||daumling||Owned by:|
Create a vanilla wxTreeCtrl, populate it with a few items, and get the font - the font contents are null.
To set a list item text to italics, I got the font, set the italics attribute and called SetItemFont() again. It worked, but the size was wrong (larger), probably due to the font not having been initialized.
This was a 32 bit app on Windows 7/64.
Change History (4)
comment:3 Changed 15 months ago by vadz
- Component changed from wxMSW to documentation
- Priority changed from normal to low