]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/listbox.cpp
minor cleanup; remove focus patch scaffolding
[wxWidgets.git] / src / os2 / listbox.cpp
index cd7946293414a799446b9112ad98aac928896692..475e9f814324e616f1a24b46911ac6da174afc0d 100644 (file)
@@ -748,7 +748,7 @@ bool wxListBox::OS2Command(
     {
         eEvtType = wxEVT_COMMAND_LISTBOX_SELECTED;
     }
-    if (uParam == LN_ENTER)
+    else if (uParam == LN_ENTER)
     {
         eEvtType = wxEVT_COMMAND_LISTBOX_DOUBLECLICKED;
     }