diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index a695ae7318..b6e7e543c2 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2556,7 +2556,7 @@ void wxListMainWindow::RefreshSelected() to = GetItemCount() - 1; } - if ( HasCurrent() && m_current > from && m_current <= to ) + if ( HasCurrent() && m_current >= from && m_current <= to ) { RefreshLine(m_current); }