set the string field of the wxEVT_COMMAND_CHECKLISTBOX_TOGGLED event

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-13 14:16:14 +00:00
parent 46753a7ce5
commit c70557da08
2 changed files with 2 additions and 0 deletions

View File

@@ -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);
}