From: Julian Smart Date: Thu, 22 Feb 2001 13:55:02 +0000 (+0000) Subject: wxLIST_STATE_FOCUSED -> wxLIST_STATE_SELECTED in GetItemState (typo) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c9c1c60f19e078ddfafbccccffa1ff68c92e64f0 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 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 6b42edf1be..47004c14d0 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -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;