]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/listbox.cpp
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
[wxWidgets.git] / src / os2 / listbox.cpp
index 6fa76670e767fc08ecbb158f645d60f6c621ce1a..932d5e0b6be262cddeb75a13ac20df52b31a281a 100644 (file)
@@ -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
     {