Added EVT_GRID_SELECT_CELL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
305b8c10f1
commit
17732cec28
@ -1965,6 +1965,12 @@ void wxGrid::OnGridScroll( wxScrollEvent& ev )
|
||||
|
||||
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 )
|
||||
|
Loading…
Reference in New Issue
Block a user