]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checklst.cpp
added missing headers (patch 1774617)
[wxWidgets.git] / src / msw / checklst.cpp
index 3188137acaf1639fb14a6d06c516f3a29bf44a06..65325be752cf765a46e2e08f9392d462489d2ac6 100644 (file)
@@ -29,7 +29,7 @@
 #include "wx/checklst.h"
 
 #ifndef WX_PRECOMP
-    #include "wx/msw/wrapwin.h"
+    #include "wx/msw/wrapcctl.h"
     #include "wx/object.h"
     #include "wx/colour.h"
     #include "wx/font.h"
@@ -251,6 +251,7 @@ void wxCheckListBoxItem::SendEvent()
     wxCommandEvent event(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, m_pParent->GetId());
     event.SetInt(m_nIndex);
     event.SetEventObject(m_pParent);
+    event.SetString(m_pParent->GetString(m_nIndex));
     m_pParent->ProcessCommand(event);
 }