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:
@@ -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:
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user