compilation fix for wxUniv (patch 628810)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -324,8 +324,8 @@ void CheckListBoxFrame::OnButtonMove(bool up)
|
|||||||
|
|
||||||
void CheckListBoxFrame::AdjustColour(size_t index)
|
void CheckListBoxFrame::AdjustColour(size_t index)
|
||||||
{
|
{
|
||||||
// not implemented in other ports yet
|
// not implemented in ports other than (native) MSW yet
|
||||||
#ifdef __WXMSW__
|
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
|
||||||
// even items have grey backround, odd ones - white
|
// even items have grey backround, odd ones - white
|
||||||
unsigned char c = index % 2 ? 255 : 200;
|
unsigned char c = index % 2 ? 255 : 200;
|
||||||
m_pListBox->GetItem(index)->SetBackgroundColour(wxColor(c, c, c));
|
m_pListBox->GetItem(index)->SetBackgroundColour(wxColor(c, c, c));
|
||||||
|
Reference in New Issue
Block a user