diff --git a/docs/changes.txt b/docs/changes.txt index ee4067c917..246d4bea77 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -200,6 +200,7 @@ wxMSW: - Fix appearance of notebook with non-top tabs under Windows Vista - Fixed bug with symbol resolving in wxStackWalker (Axel Gembe) - Fixed showing busy cursor for disabled windows and during wxExecute() +- Set the string of wxEVT_COMMAND_CHECKLISTBOX_TOGGLED events (Luca Cappa) wxGTK: diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index 2fb4e4e508..65325be752 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -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); }