diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 48da8a2042..1685c4030c 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -9464,7 +9464,7 @@ wxGridCellCoordsArray wxGrid::GetSelectionBlockTopLeft() const wxGridCellCoordsArray wxGrid::GetSelectionBlockBottomRight() const { if (!m_selection) { wxGridCellCoordsArray a; return a; } - return m_selection->m_blockSelectionTopLeft; + return m_selection->m_blockSelectionBottomRight; } wxArrayInt wxGrid::GetSelectedRows() const {