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

@@ -200,6 +200,7 @@ wxMSW:
- Fix appearance of notebook with non-top tabs under Windows Vista - Fix appearance of notebook with non-top tabs under Windows Vista
- Fixed bug with symbol resolving in wxStackWalker (Axel Gembe) - Fixed bug with symbol resolving in wxStackWalker (Axel Gembe)
- Fixed showing busy cursor for disabled windows and during wxExecute() - Fixed showing busy cursor for disabled windows and during wxExecute()
- Set the string of wxEVT_COMMAND_CHECKLISTBOX_TOGGLED events (Luca Cappa)
wxGTK: wxGTK:

View File

@@ -251,6 +251,7 @@ void wxCheckListBoxItem::SendEvent()
wxCommandEvent event(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, m_pParent->GetId()); wxCommandEvent event(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, m_pParent->GetId());
event.SetInt(m_nIndex); event.SetInt(m_nIndex);
event.SetEventObject(m_pParent); event.SetEventObject(m_pParent);
event.SetString(m_pParent->GetString(m_nIndex));
m_pParent->ProcessCommand(event); m_pParent->ProcessCommand(event);
} }