X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/937013e0fd914d4c42f9f5ec98da665986b93dfa..0d1903dbda864780eec30efdc4e91776bdbfd21b:/src/motif/checklst.cpp diff --git a/src/motif/checklst.cpp b/src/motif/checklst.cpp index ff83d6d2c5..9076a79c77 100644 --- a/src/motif/checklst.cpp +++ b/src/motif/checklst.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 17/09/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -28,8 +27,6 @@ // implementation // ============================================================================ -IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox) - // ---------------------------------------------------------------------------- // implementation of wxCheckListBox class // ---------------------------------------------------------------------------- @@ -131,7 +128,7 @@ void wxCheckListBox::DoToggleItem( int n, int x ) label[1u] = (!::IsChecked(label)) ? checkChar : uncheckChar; wxListBox::SetString(n, label); - wxCommandEvent event(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, GetId()); + wxCommandEvent event(wxEVT_CHECKLISTBOX, GetId()); if( HasClientObjectData() ) event.SetClientObject( GetClientObject(n) ); else if( HasClientUntypedData() )