X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9eae14d7bbfac8bd66d53d201c07febebfeef34c..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/os2/listbox.cpp?ds=sidebyside diff --git a/src/os2/listbox.cpp b/src/os2/listbox.cpp index 6fa76670e7..932d5e0b6b 100644 --- a/src/os2/listbox.cpp +++ b/src/os2/listbox.cpp @@ -587,11 +587,11 @@ bool wxListBox::OS2Command( if (uParam == LN_SELECT) { - eEvtType = wxEVT_COMMAND_LISTBOX_SELECTED; + eEvtType = wxEVT_LISTBOX; } else if (uParam == LN_ENTER) { - eEvtType = wxEVT_COMMAND_LISTBOX_DOUBLECLICKED; + eEvtType = wxEVT_LISTBOX_DCLICK; } else {