]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed event handling bug as suggested by Lech Wiktor Piotrowski.
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 16 Oct 2005 17:13:16 +0000 (17:13 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 16 Oct 2005 17:13:16 +0000 (17:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;
     }