Use wxGrid::UpdateGridWindows() helper in wxGridSelection code

This function advantageously replaces the ugly casts that were used in
wxGridSelection code before.
This commit is contained in:
lucian-rotariu
2019-07-11 01:02:14 +02:00
committed by Vadim Zeitlin
parent d37a15444f
commit cf3709147a
3 changed files with 9 additions and 4 deletions

View File

@@ -4629,6 +4629,10 @@ void wxGrid::EnableDragColMove( bool enable )
// order, whereas now you can always call ResetColPos() manually if needed
}
void wxGrid::UpdateGridWindows() const
{
m_gridWin->Update();
}
//
// ------ interaction with data model