]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for bug where the cell highlight was not cleared from a cell
authorMichael Bedward <mbedward@ozemail.com.au>
Thu, 27 Jul 2000 06:37:41 +0000 (06:37 +0000)
committerMichael Bedward <mbedward@ozemail.com.au>
Thu, 27 Jul 2000 06:37:41 +0000 (06:37 +0000)
that was only partially in view.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index 4af11b94dbf1b6ebaca5f70c5a28523d98e3d587..138c06e72c44e1b377e9fb557e1be7998cb4fc74 100644 (file)
@@ -5595,7 +5595,7 @@ void wxGrid::SetCurrentCell( const wxGridCellCoords& coords )
         HideCellEditControl();
         DisableCellEditControl();
 
-        if ( IsVisible( m_currentCellCoords ) )
+        if ( IsVisible( m_currentCellCoords, FALSE ) )  // zzz
         {
             wxRect r;
             r = BlockToDeviceRect(m_currentCellCoords, m_currentCellCoords);