Removed unused parameter addToSelected.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2000-03-10 13:57:58 +00:00
parent 32e768ae94
commit 723d1b1da1
2 changed files with 5 additions and 5 deletions

View File

@@ -29,10 +29,10 @@ public:
bool IsSelection();
bool IsInSelection ( int row, int col );
void SetSelectionMode(wxGrid::wxGridSelectionModes selmode);
void SelectRow( int row, bool addToSelected = FALSE,
void SelectRow( int row,
bool ControlDown = FALSE, bool ShiftDown = FALSE,
bool AltDown = FALSE, bool MetaDown = FALSE );
void SelectCol( int col, bool addToSelected = FALSE,
void SelectCol( int col,
bool ControlDown = FALSE, bool ShiftDown = FALSE,
bool AltDown = FALSE, bool MetaDown = FALSE );
void SelectBlock( int topRow, int leftCol,

View File

@@ -184,7 +184,7 @@ void wxGridSelection::SetSelectionMode(wxGrid::wxGridSelectionModes selmode)
}
}
void wxGridSelection::SelectRow( int row, bool addToSelected,
void wxGridSelection::SelectRow( int row,
bool ControlDown, bool ShiftDown,
bool AltDown, bool MetaDown )
{
@@ -277,7 +277,7 @@ void wxGridSelection::SelectRow( int row, bool addToSelected,
m_grid->GetEventHandler()->ProcessEvent(gridEvt);
}
void wxGridSelection::SelectCol( int col, bool addToSelected,
void wxGridSelection::SelectCol( int col,
bool ControlDown, bool ShiftDown,
bool AltDown, bool MetaDown )
{
@@ -586,7 +586,6 @@ void wxGridSelection::ToggleCellSelection( int row, int col,
n--; count--;
if ( !m_grid->GetBatchCount() )
((wxWindow *)m_grid->m_gridWin)->Refresh( FALSE, &r );
return;
// Send event
wxGridEvent gridEvt( m_grid->GetId(),
@@ -596,6 +595,7 @@ void wxGridSelection::ToggleCellSelection( int row, int col,
ControlDown, ShiftDown,
AltDown, MetaDown );
m_grid->GetEventHandler()->ProcessEvent(gridEvt);
return;
}
}
}