www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - 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
Apr 22 2005