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
This commit is contained in:
Stefan Neis
2005-10-16 17:13:16 +00:00
parent 3fc1adbd94
commit d6701f32aa

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