void wxGenericGrid::OnPaint(wxPaintEvent& WXUNUSED(event))
{
- wxRectangle rect;
int w, h;
GetClientSize(&w, &h);
// Erase (some of) the background.
// Currently, a Windows-only optimisation.
-void wxGenericGrid::OnEraseBackground(wxEraseEvent& event)
+void wxGenericGrid::OnEraseBackground(wxEraseEvent& WXUNUSED(event) )
{
wxClientDC dc(this);
dc.BeginDrawing();