]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
remove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other...
[wxWidgets.git] / src / generic / grid.cpp
index 73318daf36dd28fab641790b92941a2f708c61dd..80c7a07be70c90f851a208c38c98bc19a35ce0d9 100644 (file)
@@ -8083,7 +8083,8 @@ void wxGrid::DeselectLine(int line, const wxGridOperations& oper)
         return;
 
     const wxGridSelectionModes mode = m_selection->GetSelectionMode();
-    if ( mode == oper.GetSelectionMode() )
+    if ( mode == oper.GetSelectionMode() ||
+            mode == wxGrid::wxGridSelectRowsOrColumns )
     {
         const wxGridCellCoords c(oper.MakeCoords(line, 0));
         if ( m_selection->IsInSelection(c) )