]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/ctrlrend.cpp
reversed some parts of wxGetKeyState for linkage reasons...
[wxWidgets.git] / src / univ / ctrlrend.cpp
index a3fb8739bcb63a57414612823cb133609b627b2e..6a8be1ed6f7c948f0872f51fe767c60ddbca4b12 100644 (file)
@@ -675,7 +675,11 @@ void wxControlRenderer::DrawItems(const wxListBox *lbox,
 
 void wxControlRenderer::DoDrawItems(const wxListBox *lbox,
                                     size_t itemFirst, size_t itemLast,
+#if wxUSE_CHECKLISTBOX
                                     bool isCheckLbox)
+#else
+                                    bool WXUNUSED(isCheckLbox))
+#endif
 {
     // prepare for the drawing: calc the initial position
     wxCoord lineHeight = lbox->GetLineHeight();