April 22, 2005 wxListCtrl doesn't show background color | ||||
---|---|---|---|---|
| ||||
Hi, (wx-2.6, xp) My code is as follows: ... gdl_ = new wxListCtrl(this, ID_GD_LIST, wxDefaultPosition,wxSize(400, 300), wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_HRULES|wxLC_VRULES); ... wxListItem item; item.m_itemId = row; item.SetBackgroundColour(wxColour(0xc0,0xff,0xc0)); gdl_->SetItem( item ); ... It's working with mingw. -- Regards, HakkiDogusan |
Copyright © 1999-2021 by the D Language Foundation