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:
@@ -1965,6 +1965,12 @@ void wxGrid::OnGridScroll( wxScrollEvent& ev )
|
|||||||
|
|
||||||
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 );
|
wxClientDC dc( this );
|
||||||
|
|
||||||
if ( m_currentCellCoords != wxGridNoCellCoords )
|
if ( m_currentCellCoords != wxGridNoCellCoords )
|
||||||
|
Reference in New Issue
Block a user