fixed spelling mistake in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -800,10 +800,10 @@ void wxGridSelection::ClearSelection()
|
|||||||
wxRect r;
|
wxRect r;
|
||||||
wxGridCellCoords coords1, coords2;
|
wxGridCellCoords coords1, coords2;
|
||||||
|
|
||||||
// deselect all invidiual cells and update the screen
|
// deselect all individual cells and update the screen
|
||||||
if ( m_selectionMode == wxGrid::wxGridSelectCells )
|
if ( m_selectionMode == wxGrid::wxGridSelectCells )
|
||||||
{
|
{
|
||||||
while( ( n = m_cellSelection.GetCount() ) > 0)
|
while ( ( n = m_cellSelection.GetCount() ) > 0)
|
||||||
{
|
{
|
||||||
n--;
|
n--;
|
||||||
coords1 = m_cellSelection[n];
|
coords1 = m_cellSelection[n];
|
||||||
@@ -820,7 +820,7 @@ void wxGridSelection::ClearSelection()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// deselect all blocks and update the screen
|
// deselect all blocks and update the screen
|
||||||
while( ( n = m_blockSelectionTopLeft.GetCount() ) > 0)
|
while ( ( n = m_blockSelectionTopLeft.GetCount() ) > 0)
|
||||||
{
|
{
|
||||||
n--;
|
n--;
|
||||||
coords1 = m_blockSelectionTopLeft[n];
|
coords1 = m_blockSelectionTopLeft[n];
|
||||||
@@ -840,7 +840,7 @@ void wxGridSelection::ClearSelection()
|
|||||||
// deselect all rows and update the screen
|
// deselect all rows and update the screen
|
||||||
if ( m_selectionMode != wxGrid::wxGridSelectColumns )
|
if ( m_selectionMode != wxGrid::wxGridSelectColumns )
|
||||||
{
|
{
|
||||||
while( ( n = m_rowSelection.GetCount() ) > 0)
|
while ( ( n = m_rowSelection.GetCount() ) > 0)
|
||||||
{
|
{
|
||||||
n--;
|
n--;
|
||||||
int row = m_rowSelection[n];
|
int row = m_rowSelection[n];
|
||||||
@@ -860,7 +860,7 @@ void wxGridSelection::ClearSelection()
|
|||||||
// deselect all columns and update the screen
|
// deselect all columns and update the screen
|
||||||
if ( m_selectionMode != wxGrid::wxGridSelectRows )
|
if ( m_selectionMode != wxGrid::wxGridSelectRows )
|
||||||
{
|
{
|
||||||
while( ( n = m_colSelection.GetCount() ) > 0)
|
while ( ( n = m_colSelection.GetCount() ) > 0)
|
||||||
{
|
{
|
||||||
n--;
|
n--;
|
||||||
int col = m_colSelection[n];
|
int col = m_colSelection[n];
|
||||||
|
Reference in New Issue
Block a user