From d6701f32aa5e8a20ef289192d7e424f06790bf3e Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sun, 16 Oct 2005 17:13:16 +0000 Subject: [PATCH] Fixed event handling bug as suggested by Lech Wiktor Piotrowski. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/listbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os2/listbox.cpp b/src/os2/listbox.cpp index cd79462934..475e9f8143 100644 --- a/src/os2/listbox.cpp +++ b/src/os2/listbox.cpp @@ -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; } -- 2.45.2