]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/gridg.cpp
Correct wrong memset ordering that produced an assert in the printing sample
[wxWidgets.git] / src / generic / gridg.cpp
index 624cac6ad1c4be8e6b004c928457d8c1b18d82f2..9be30909b7adf4c53d3bdb2bd5093471b24d847c 100644 (file)
@@ -1417,9 +1417,11 @@ 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);
+  // Put back for Motif only on advice of Michael Bedward
+#ifdef __WXMOTIF__
+  HighlightCell(dc);
 #endif
+
   dc->DestroyClippingRegion();
 
   //OnSelectCell(row, col);