Fix wxListEvent::GetLabel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1854,6 +1854,11 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
const UINT stOld = nmLV->uOldState;
|
||||
const UINT stNew = nmLV->uNewState;
|
||||
|
||||
event.m_item.SetId(nmLV->iItem);
|
||||
event.m_item.SetMask(wxLIST_MASK_TEXT|wxLIST_MASK_IMAGE|
|
||||
wxLIST_MASK_DATA);
|
||||
GetItem(event.m_item);
|
||||
|
||||
// has the focus changed?
|
||||
if ( !(stOld & LVIS_FOCUSED) && (stNew & LVIS_FOCUSED) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user