diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index 98b783e4c8..93cfea0aea 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -632,7 +632,7 @@ class WXDLLEXPORT wxGrid : public wxScrolledWindow // ------ grid cursor movement functions // void SetGridCursor( int row, int col ) - { SelectCell( wxGridCellCoords(row, col) ); } + { SetCurrentCell( wxGridCellCoords(row, col) ); } bool MoveCursorUp(); bool MoveCursorDown();