some extra refreshing and updating on wxMac so the grid renders itself correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -7788,6 +7788,10 @@ void wxGrid::HideCellEditControl()
|
||||
wxRect rect( CellToRect(row, col) );
|
||||
CalcScrolledPosition(rect.x, rect.y, &rect.x, &rect.y );
|
||||
rect.width = m_gridWin->GetClientSize().GetWidth() - rect.x;
|
||||
#ifdef __WXMAC__
|
||||
// ensure that the pixels under the focus ring get refreshed as well
|
||||
rect.Inflate(10,10);
|
||||
#endif
|
||||
m_gridWin->Refresh( false, &rect );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user