]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/checklst.cpp
fixes #13557
[wxWidgets.git] / src / motif / checklst.cpp
index b0e22aaefe85f157d0397de46abef7adf7488567..b461e6ab3a45abc7293741a585c269950059583f 100644 (file)
@@ -28,8 +28,6 @@
 // implementation
 // ============================================================================
 
-IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
-
 // ----------------------------------------------------------------------------
 // implementation of wxCheckListBox class
 // ----------------------------------------------------------------------------
@@ -141,7 +139,7 @@ void wxCheckListBox::DoToggleItem( int n, int x )
         event.SetEventObject(this);
         event.SetString(GetString(n));
 
-        GetEventHandler()->ProcessEvent(event);
+        HandleWindowEvent(event);
     }
 }