git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25674
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
ChangeCurrent(newCurrent);
{
ChangeCurrent(newCurrent);
+ // refresh the old focus to remove it
+ RefreshLine( oldCurrent );
+
// select all the items between the old and the new one
if ( oldCurrent > newCurrent )
{
// select all the items between the old and the new one
if ( oldCurrent > newCurrent )
{
ChangeCurrent(newCurrent);
ChangeCurrent(newCurrent);
- // refresh the old focus to remove it
- RefreshLine( oldCurrent );
+ // refresh the old focus to remove it
+ RefreshLine( oldCurrent );
if ( !event.ControlDown() )
{
if ( !event.ControlDown() )
{
RefreshLine( m_current );
MoveToFocus();
RefreshLine( m_current );
MoveToFocus();