]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed compilation under Motif
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Apr 1999 11:51:36 +0000 (11:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Apr 1999 11:51:36 +0000 (11:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/checklst/checklst.cpp

index 74b5089c1c23bb07e97e187922dcaf3c98732ff4..dfc27c262aa7cee2ef5e6630be4fc8f390798a1d 100644 (file)
@@ -156,8 +156,8 @@ CheckListBoxFrame::CheckListBoxFrame(wxFrame *frame,
 
     delete [] astrChoices;
 
 
     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));
     // set grey background for every second entry
     for ( ui = 0; ui < WXSIZEOF(aszChoices); ui += 2 ) {
         m_pListBox->GetItem(ui)->SetBackgroundColour(wxColor(200, 200, 200));