+
+ // One deselection event, indicating deselection of _all_ cells.
+ // (No finer grained events for each of the smaller regions
+ // deselected above!)
+ wxGridRangeSelectEvent gridEvt( m_grid->GetId(),
+ wxEVT_GRID_RANGE_SELECT,
+ m_grid,
+ wxGridCellCoords( 0, 0 ),
+ wxGridCellCoords( m_grid->GetNumberRows() - 1,
+ m_grid->GetNumberCols() - 1 ),
+ FALSE );
+
+ m_grid->GetEventHandler()->ProcessEvent(gridEvt);