// headers
// ---------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "renderer.h"
#endif
}
void wxControlRenderer::DrawScrollbar(const wxScrollBar *scrollbar,
- int thumbPosOld)
+ int WXUNUSED(thumbPosOld))
{
// we will only redraw the parts which must be redrawn and not everything
wxRegion rgnUpdate = scrollbar->GetUpdateRegion();
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();