]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
Added list style to text attributes, independent from paragraph style
[wxWidgets.git] / src / gtk / listbox.cpp
index c8d292fb4ddc519e9e9e5429624879f999a9ebd1..ad3193f273827e335f3c146dc64f5173f6a1a83e 100644 (file)
@@ -942,6 +942,7 @@ void wxListBox::DoSetSelection( int n, bool select )
     {
         // ... and not generate any events in the process
         GtkDeselectAll();
+       return;
     }
 
     wxCHECK_RET( IsValid(n), wxT("invalid index in wxListBox::SetSelection") );