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:
Julian Smart 2001-02-22 13:55:02 +00:00
parent 47210d0238
commit c9c1c60f19

View File

@ -2668,7 +2668,7 @@ int wxListMainWindow::GetItemState( long item, long stateMask )
if (item >= 0 && (size_t)item < m_lines.GetCount())
{
wxListLineData *line = &m_lines[(size_t)item];
if (line->IsHilighted()) ret |= wxLIST_STATE_FOCUSED;
if (line->IsHilighted()) ret |= wxLIST_STATE_SELECTED;
}
}
return ret;