fixed display in SetSelectedIndices()

This commit is contained in:
pierre%netscape.com 1999-03-09 04:11:25 +00:00
Родитель db64f03904
Коммит 4b33ec0b5b
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -419,10 +419,12 @@ nsresult nsListBox::SetSelectedIndices(PRInt32 aIndices[], PRInt32 aSize)
::SetPt(&theCell, 0, 1);
::LSetSelect(true, theCell, mListHandle);
}
::LSetDrawingMode(true, mListHandle);
::LAutoScroll(mListHandle);
::LSetDrawingMode(true, mListHandle);
EndDraw();
Invalidate(PR_TRUE);
return NS_OK;
}
@ -477,6 +479,8 @@ nsresult nsListBox::Deselect()
::LSetDrawingMode(true, mListHandle);
EndDraw();
Invalidate(PR_TRUE);
return NS_OK;
}