From ae9cab0676c30dc5e0e643f15b316e4ef11a8c00 Mon Sep 17 00:00:00 2001 From: Michael Bedward Date: Thu, 27 Jul 2000 06:37:41 +0000 Subject: [PATCH] Fix for bug where the cell highlight was not cleared from a cell 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 4af11b94db..138c06e72c 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -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); -- 2.45.2