const wxRect& rect,
int flags = 0);
- virtual wxSize GetCheckBoxSize() const;
+ virtual wxSize GetCheckBoxSize(wxWindow *win);
virtual void DrawPushButton(wxWindow *win,
wxDC& dc,
}
}
-wxSize wxRendererGeneric::GetCheckBoxSize() const
+wxSize wxRendererGeneric::GetCheckBoxSize(wxWindow *WXUNUSED(win))
{
return wxSize(16, 16);
}
}
void
-#ifdef __WXMAC__
wxRendererGeneric::DrawItemSelectionRect(wxWindow * win,
wxDC& dc,
const wxRect& rect,
int flags)
-#else
-wxRendererGeneric::DrawItemSelectionRect(wxWindow * WXUNUSED(win),
- wxDC& dc,
- const wxRect& rect,
- int flags)
-#endif
{
wxBrush brush;
if ( flags & wxCONTROL_SELECTED )
dc.SetPen( *wxTRANSPARENT_PEN );
dc.DrawRectangle( rect );
+
+ // it's unused everywhere except in wxOSX/Carbon
+ wxUnusedVar(win);
}
void