user32/tests: Fix the LB_DELETESTRING for older Windows versions.
This commit is contained in:
parent
4082eecc2a
commit
2c882507da
|
@ -11020,14 +11020,18 @@ static const struct message wm_lb_click_0[] =
|
|||
static const struct message wm_lb_deletestring[] =
|
||||
{
|
||||
{ LB_DELETESTRING, sent|wparam|lparam, 0, 0 },
|
||||
{ WM_DELETEITEM, sent|wparam|parent, ID_LISTBOX, 0 },
|
||||
{ WM_DELETEITEM, sent|wparam|parent|optional, ID_LISTBOX, 0 },
|
||||
{ WM_DRAWITEM, sent|wparam|parent|optional, ID_LISTBOX },
|
||||
{ WM_DRAWITEM, sent|wparam|parent|optional, ID_LISTBOX },
|
||||
{ 0 }
|
||||
};
|
||||
static const struct message wm_lb_deletestring_reset[] =
|
||||
{
|
||||
{ LB_DELETESTRING, sent|wparam|lparam, 0, 0 },
|
||||
{ LB_RESETCONTENT, sent|wparam|lparam|defwinproc, 0, 0 },
|
||||
{ WM_DELETEITEM, sent|wparam|parent, ID_LISTBOX, 0 },
|
||||
{ LB_RESETCONTENT, sent|wparam|lparam|defwinproc|optional, 0, 0 },
|
||||
{ WM_DELETEITEM, sent|wparam|parent|optional, ID_LISTBOX, 0 },
|
||||
{ WM_DRAWITEM, sent|wparam|parent|optional, ID_LISTBOX },
|
||||
{ WM_DRAWITEM, sent|wparam|parent|optional, ID_LISTBOX },
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue