X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98fbab9e7bf70ee8af44a78ea2a1d2cbb406880a..a66bf817a6ba833ad47cefc9fa8948ef8045a59d:/src/os2/checklst.cpp diff --git a/src/os2/checklst.cpp b/src/os2/checklst.cpp index d6c4eb08c7..cd093e16e5 100644 --- a/src/os2/checklst.cpp +++ b/src/os2/checklst.cpp @@ -56,8 +56,6 @@ static const int CHECK_MARK_WIDTH = 15; // implementation // ============================================================================ -IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox) - // ---------------------------------------------------------------------------- // declaration and implementation of wxCheckListBoxItem class // ---------------------------------------------------------------------------- @@ -216,7 +214,7 @@ void wxCheckListBoxItem::Check( bool bCheck ) } - wxCommandEvent vEvent( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED,m_pParent->GetId()); + wxCommandEvent vEvent( wxEVT_CHECKLISTBOX,m_pParent->GetId()); vEvent.SetInt(m_nIndex); vEvent.SetEventObject(m_pParent);