wxLIST_STATE_FOCUSED -> wxLIST_STATE_SELECTED in GetItemState (typo)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2668,7 +2668,7 @@ int wxListMainWindow::GetItemState( long item, long stateMask )
|
|||||||
if (item >= 0 && (size_t)item < m_lines.GetCount())
|
if (item >= 0 && (size_t)item < m_lines.GetCount())
|
||||||
{
|
{
|
||||||
wxListLineData *line = &m_lines[(size_t)item];
|
wxListLineData *line = &m_lines[(size_t)item];
|
||||||
if (line->IsHilighted()) ret |= wxLIST_STATE_FOCUSED;
|
if (line->IsHilighted()) ret |= wxLIST_STATE_SELECTED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user