diff --git a/src/generic/gridg.cpp b/src/generic/gridg.cpp index 624cac6ad1..858c320c01 100644 --- a/src/generic/gridg.cpp +++ b/src/generic/gridg.cpp @@ -1417,9 +1417,10 @@ void wxGenericGrid::OnSelectCellImplementation(wxDC *dc, int row, int col) // Probably because of the SetValue?? JS. // 2) Arrrrrgh. This isn't needed anywhere, // of course. One hour of debugging... RR. -#ifndef __WXMSW__ -// HighlightCell(dc); -#endif +#ifdef __WXMOTIF__ + HighlightCell(dc); +#endif // motif + dc->DestroyClippingRegion(); //OnSelectCell(row, col);