From: Vadim Zeitlin Date: Mon, 8 Jul 2002 17:57:48 +0000 (+0000) Subject: fixed handling of Ctrl-arrows movement which was unselecting the previously selected... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/58c1c0965ea9969eaeea633d76b6e23b69110e04?ds=inline fixed handling of Ctrl-arrows movement which was unselecting the previously selected items incorrectly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 538ddcc162..e3e0e85f4e 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -3220,7 +3220,7 @@ void wxListMainWindow::OnArrowChar(size_t newCurrent, const wxKeyEvent& event) ChangeCurrent(newCurrent); - HighlightLine( oldCurrent, FALSE ); + // refresh the old focus to remove it RefreshLine( oldCurrent ); if ( !event.ControlDown() )