From: Vadim Zeitlin Date: Mon, 12 Apr 1999 11:51:36 +0000 (+0000) Subject: fixed compilation under Motif X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c386222cd305fb273a7ee735a326a81f0a45b8d6 fixed compilation under Motif git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/checklst/checklst.cpp b/samples/checklst/checklst.cpp index 74b5089c1c..dfc27c262a 100644 --- a/samples/checklst/checklst.cpp +++ b/samples/checklst/checklst.cpp @@ -156,8 +156,8 @@ CheckListBoxFrame::CheckListBoxFrame(wxFrame *frame, delete [] astrChoices; - // not implemented in wxGTK yet -#ifndef __WXGTK__ + // not implemented in other ports yet +#ifdef __WXMSW__ // set grey background for every second entry for ( ui = 0; ui < WXSIZEOF(aszChoices); ui += 2 ) { m_pListBox->GetItem(ui)->SetBackgroundColour(wxColor(200, 200, 200));