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:
@@ -5595,7 +5595,7 @@ void wxGrid::SetCurrentCell( const wxGridCellCoords& coords )
|
|||||||
HideCellEditControl();
|
HideCellEditControl();
|
||||||
DisableCellEditControl();
|
DisableCellEditControl();
|
||||||
|
|
||||||
if ( IsVisible( m_currentCellCoords ) )
|
if ( IsVisible( m_currentCellCoords, FALSE ) ) // zzz
|
||||||
{
|
{
|
||||||
wxRect r;
|
wxRect r;
|
||||||
r = BlockToDeviceRect(m_currentCellCoords, m_currentCellCoords);
|
r = BlockToDeviceRect(m_currentCellCoords, m_currentCellCoords);
|
||||||
|
Reference in New Issue
Block a user