]> git.saurik.com Git - wxWidgets.git/commitdiff
wxLIST_STATE_FOCUSED -> wxLIST_STATE_SELECTED in GetItemState (typo)
authorJulian Smart <julian@anthemion.co.uk>
Thu, 22 Feb 2001 13:55:02 +0000 (13:55 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 22 Feb 2001 13:55:02 +0000 (13:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index 6b42edf1be057fe7aeac37ae3604bc4206ff1ecf..47004c14d09c8bc947c5add27030a9f677da930c 100644 (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;