]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/checklst.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / msw / checklst.h
index 31601d86bf1ac88713bff87754c0610be3592949..49ff9a8a5bcb969126c2996feaa7870dc2e5ae94 100644 (file)
@@ -73,7 +73,7 @@ protected:
     // send an "item checked" event
     void SendEvent(unsigned int uiIndex)
     {
-        wxCommandEvent event(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, GetId());
+        wxCommandEvent event(wxEVT_CHECKLISTBOX, GetId());
         event.SetInt(uiIndex);
         event.SetEventObject(this);
         event.SetString(GetString(uiIndex));