forked from Mirrors/wine-wine
Replaced LISTBOX_SetCaretIndex() with LISTBOX_MoveCaret() in
LB_SELECTSTRING handler so that the caret moves to the index and item is highlighted.oldstable
parent
5f2e8b7f46
commit
0c3af0ba58
|
@ -2795,7 +2795,7 @@ static LRESULT WINAPI ListBoxWndProc_common( HWND hwnd, UINT msg,
|
|||
HeapFree(GetProcessHeap(), 0, textW);
|
||||
if (index != LB_ERR)
|
||||
{
|
||||
LISTBOX_SetCaretIndex( hwnd, descr, index, TRUE );
|
||||
LISTBOX_MoveCaret( hwnd, descr, index, TRUE );
|
||||
LISTBOX_SetSelection( hwnd, descr, index, TRUE, FALSE );
|
||||
}
|
||||
return index;
|
||||
|
|
Loading…
Reference in New Issue