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
This commit is contained in:
Michael Bedward 2000-07-27 06:37:41 +00:00
parent a0948e2723
commit ae9cab0676

View 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);