X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98fbab9e7bf70ee8af44a78ea2a1d2cbb406880a..55c534803fc222e8fea96cada9b7715763814046:/src/os2/listbox.cpp diff --git a/src/os2/listbox.cpp b/src/os2/listbox.cpp index ada1db3c6c..9960d92fc0 100644 --- a/src/os2/listbox.cpp +++ b/src/os2/listbox.cpp @@ -4,7 +4,6 @@ // Author: David Webster // Modified by: // Created: 10/09/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -39,8 +38,6 @@ #include "wx/ownerdrw.h" #endif -IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems) - // ============================================================================ // list box item declaration and implementation // ============================================================================ @@ -265,7 +262,6 @@ int wxListBox::DoInsertItems(const wxArrayStringsAdapter & items, void **clientData, wxClientDataType type) { - long lIndex = 0; LONG lIndexType = 0; bool incrementPos = false; @@ -590,11 +586,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 {