void Draw (wxGrid& grid, wxGridCellAttr &, wxDC& dc, const wxRect& rect, int row, int col, bool)
{
+#if wxMAJOR_VERSION == 2 && wxMINOR_VERSION >= 9
+ dc.SetPen (*wxThePenList->FindOrCreatePen (wxColour (255, 255, 255), 0, wxPENSTYLE_SOLID));
+#else
+ dc.SetPen (*wxThePenList->FindOrCreatePen (wxColour (255, 255, 255), 0, wxSOLID));
+#endif
+ dc.DrawRectangle (rect);
+
wxRendererNative::Get().DrawCheckBox (
&grid,
dc, rect,