fixed variable shadowing icc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -87,7 +87,7 @@ bool wxGridSelection::IsInSelection ( int row, int col )
|
||||
// (unless we are in column selection mode).
|
||||
if ( m_selectionMode != wxGrid::wxGridSelectColumns )
|
||||
{
|
||||
size_t count = m_rowSelection.GetCount();
|
||||
count = m_rowSelection.GetCount();
|
||||
for ( size_t n = 0; n < count; n++ )
|
||||
{
|
||||
if ( row == m_rowSelection[n] )
|
||||
@@ -100,7 +100,7 @@ bool wxGridSelection::IsInSelection ( int row, int col )
|
||||
// (unless we are in row selection mode).
|
||||
if ( m_selectionMode != wxGrid::wxGridSelectRows )
|
||||
{
|
||||
size_t count = m_colSelection.GetCount();
|
||||
count = m_colSelection.GetCount();
|
||||
for ( size_t n = 0; n < count; n++ )
|
||||
{
|
||||
if ( col == m_colSelection[n] )
|
||||
@@ -595,8 +595,8 @@ void wxGridSelection::ToggleCellSelection( int row, int col,
|
||||
count = m_cellSelection.GetCount();
|
||||
for ( n = 0; n < count; n++ )
|
||||
{
|
||||
wxGridCellCoords& coords = m_cellSelection[n];
|
||||
if ( row == coords.GetRow() && col == coords.GetCol() )
|
||||
const wxGridCellCoords& sel = m_cellSelection[n];
|
||||
if ( row == sel.GetRow() && col == sel.GetCol() )
|
||||
{
|
||||
wxGridCellCoords coords = m_cellSelection[n];
|
||||
m_cellSelection.RemoveAt(n);
|
||||
|
Reference in New Issue
Block a user