]> git.saurik.com Git - wxWidgets.git/commitdiff
remove automatic selection of the current row/column in row/column selection mode...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Sep 2008 08:45:29 +0000 (08:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Sep 2008 08:45:29 +0000 (08:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index c86a76075538d93fedcb8a817838ccdc93ec6afa..de06f058ed5fe38e01b4ddfe9e6dfaba5fc3c761 100644 (file)
@@ -6143,16 +6143,9 @@ void wxGrid::ProcessGridCellMouseEvent( wxMouseEvent& event )
                 }
                 else
                 {
-                    m_waitForSlowClick = m_currentCellCoords == coords && coords != wxGridNoCellCoords;
+                    m_waitForSlowClick = m_currentCellCoords == coords &&
+                                                coords != wxGridNoCellCoords;
                     SetCurrentCell( coords );
-                    if ( m_selection )
-                    {
-                        if ( m_selection->GetSelectionMode() !=
-                                wxGrid::wxGridSelectCells )
-                        {
-                            HighlightBlock( coords, coords );
-                        }
-                    }
                 }
             }
         }