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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user