X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff0d9d83cd088b9f7c925db8262f86674a320724..1722a3f626f7b29b42a22fc6329ce12fb5e8ed90:/src/msw/checklst.cpp?ds=sidebyside diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index 3188137aca..65325be752 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -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); }