From f1c2a09edfa1538c48ca68225b48910626d9d796 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 25 Oct 2002 20:15:12 +0000 Subject: [PATCH] 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 --- samples/checklst/checklst.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/checklst/checklst.cpp b/samples/checklst/checklst.cpp index cba00d91ae..4dfd9e679c 100644 --- a/samples/checklst/checklst.cpp +++ b/samples/checklst/checklst.cpp @@ -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));