From: Vadim Zeitlin Date: Thu, 25 Mar 1999 14:51:14 +0000 (+0000) Subject: Motif cell highlighting problem fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9dc12949f15f0802ea2216cb64f17c6d3a512d4b?ds=inline Motif cell highlighting problem fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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);