Alexandre Julliard : user32/tests: Fix the LB_DELETESTRING for older Windows versions.
Alexandre Julliard
julliard at winehq.org
Tue May 12 09:08:47 CDT 2009
Module: wine
Branch: master
Commit: 2c882507daa2b992331c54adc13e6d2e59675894
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2c882507daa2b992331c54adc13e6d2e59675894
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue May 12 12:09:07 2009 +0200
user32/tests: Fix the LB_DELETESTRING for older Windows versions.
---
dlls/user32/tests/msg.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 2445f82..782ab8a 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -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 }
};
More information about the wine-cvs
mailing list