From c70557da0876955e9fab33939c47a697c85bcb65 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 13 Jul 2007 14:16:14 +0000 Subject: [PATCH] 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 --- docs/changes.txt | 1 + src/msw/checklst.cpp | 1 + 2 files changed, 2 insertions(+) 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); } -- 2.45.2