git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4061
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxGrid::SelectCell( const wxGridCellCoords& coords )
{
void wxGrid::SelectCell( const wxGridCellCoords& coords )
{
+ if ( SendEvent( EVT_GRID_SELECT_CELL, coords.GetRow(), coords.GetCol() ) )
+ {
+ // the event has been intercepted - do nothing
+ return;
+ }
+
wxClientDC dc( this );
if ( m_currentCellCoords != wxGridNoCellCoords )
wxClientDC dc( this );
if ( m_currentCellCoords != wxGridNoCellCoords )