X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..7b70a3257f24daa4d574afd03c82e65631af1f2b:/src/univ/ctrlrend.cpp diff --git a/src/univ/ctrlrend.cpp b/src/univ/ctrlrend.cpp index a3fb8739bc..6a8be1ed6f 100644 --- a/src/univ/ctrlrend.cpp +++ b/src/univ/ctrlrend.cpp @@ -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();