wxListCtrl::GetItem return all information without the mask supplied
|Reported by:||rodlima||Owned by:||VZ|
Differently from generic's implementation, MSW's wxListCtrl:GetItem port doesn't fill all members of wxListItem when no mask is passed.
If you look at the code, generic's implementation returns all information when wxListItem's mask is not specified (it's this way due to backward compatibility issues), but MSW's doesn't.
And MSW's port never sets wxListItem's font or item's background colour.
All this wrong behaviour makes working with multiplatform projects rather difficult, we as a library user expect that all ports behave the same.
Change History (3)
comment:2 Changed 15 months ago by oneeyeman
- Component changed from wxMSW to GUI-generic
- Summary changed from MSW's wxListCtrl::GetItem doesn't return all information to wxListCtrl::GetItem return all information without the mask supplied