]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/listbox.cpp
use consistent names (Graphic vs. Graphics)
[wxWidgets.git] / src / univ / listbox.cpp
index a2697e5b41310e86e9afec18db5d42271a05d67c..7657a08ac6cdc569717c8af40d9d6bb3d5d16c6a 100644 (file)
@@ -483,6 +483,7 @@ void wxListBox::DoSetSelection(int n, bool select)
                 // selecting an item in a single selection listbox deselects
                 // all the others
                 DeselectAll();
+                return;
             }
 
             m_selections.Add(n);