]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
Apart smartphones use choicebook when notebook is not available (like testing smartph...
[wxWidgets.git] / src / generic / listctrl.cpp
index 1126d66902b435775aa6a762be072dba0b27caa9..2e9852802b718ad4b663883436352aa55758df0b 100644 (file)
@@ -3040,7 +3040,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event )
 
         size_t oldCurrent = m_current;
         bool cmdModifierDown = event.CmdDown();
-        if ( !(cmdModifierDown || event.ShiftDown()) )
+        if ( IsSingleSel() || !(cmdModifierDown || event.ShiftDown()) )
         {
             if( IsSingleSel() || !IsHighlighted(current) )
             {