From c9c1c60f19e078ddfafbccccffa1ff68c92e64f0 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 22 Feb 2001 13:55:02 +0000 Subject: [PATCH] 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 --- src/generic/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2