]> git.saurik.com Git - wxWidgets.git/commitdiff
set the string field of the wxEVT_COMMAND_CHECKLISTBOX_TOGGLED event
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jul 2007 14:16:14 +0000 (14:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jul 2007 14:16:14 +0000 (14:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt
src/msw/checklst.cpp

index ee4067c91774c05350739fc2f09b74030eb4d032..246d4bea77df0ecde373e3716c48d1280764fb1b 100644 (file)
@@ -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:
 
index 2fb4e4e5087e0a8818880a02f73d08d93325e916..65325be752cf765a46e2e08f9392d462489d2ac6 100644 (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);
 }