git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6592
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool IsSelection();
bool IsInSelection ( int row, int col );
void SetSelectionMode(wxGrid::wxGridSelectionModes selmode);
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 );
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,
bool ControlDown = FALSE, bool ShiftDown = FALSE,
bool AltDown = FALSE, bool MetaDown = FALSE );
void SelectBlock( int topRow, int leftCol,
-void wxGridSelection::SelectRow( int row, bool addToSelected,
+void wxGridSelection::SelectRow( int row,
bool ControlDown, bool ShiftDown,
bool AltDown, bool MetaDown )
{
bool ControlDown, bool ShiftDown,
bool AltDown, bool MetaDown )
{
m_grid->GetEventHandler()->ProcessEvent(gridEvt);
}
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 )
{
bool ControlDown, bool ShiftDown,
bool AltDown, bool MetaDown )
{
n--; count--;
if ( !m_grid->GetBatchCount() )
((wxWindow *)m_grid->m_gridWin)->Refresh( FALSE, &r );
n--; count--;
if ( !m_grid->GetBatchCount() )
((wxWindow *)m_grid->m_gridWin)->Refresh( FALSE, &r );
// Send event
wxGridEvent gridEvt( m_grid->GetId(),
// Send event
wxGridEvent gridEvt( m_grid->GetId(),
ControlDown, ShiftDown,
AltDown, MetaDown );
m_grid->GetEventHandler()->ProcessEvent(gridEvt);
ControlDown, ShiftDown,
AltDown, MetaDown );
m_grid->GetEventHandler()->ProcessEvent(gridEvt);