Fix use of a deprecated wxGrid function.

This commit is contained in:
jean-pierre charras 2018-08-30 09:07:33 +02:00
parent 4c862d056c
commit 23ec0cda31
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ void GRID_TRICKS::onUpdateUI( wxUpdateUIEvent& event )
if( m_grid->GetSelectionMode() == wxGrid::wxGridSelectionModes::wxGridSelectRows )
{
int cursorRow = m_grid->GetCursorRow();
int cursorRow = m_grid->GetGridCursorRow();
bool cursorInSelectedRow = false;
for( int row : m_grid->GetSelectedRows() )