merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 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)
 | 
			
		||||
{
 | 
			
		||||
    // not implemented in other ports yet
 | 
			
		||||
#ifdef __WXMSW__
 | 
			
		||||
    // not implemented in ports other than (native) MSW yet
 | 
			
		||||
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
 | 
			
		||||
    // even items have grey backround, odd ones - white
 | 
			
		||||
    unsigned char c = index % 2 ? 255 : 200;
 | 
			
		||||
    m_pListBox->GetItem(index)->SetBackgroundColour(wxColor(c, c, c));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user