Austin English : user32: Add test for drop down width in test_changesize().
Alexandre Julliard
julliard at winehq.org
Mon May 24 11:30:50 CDT 2010
Module: wine
Branch: master
Commit: 8ee8806773f7d6b883991b7514f0ae5fc6f672ea
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ee8806773f7d6b883991b7514f0ae5fc6f672ea
Author: Austin English <austinenglish at gmail.com>
Date: Sat May 22 02:25:13 2010 -0500
user32: Add test for drop down width in test_changesize().
---
dlls/user32/tests/combo.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/tests/combo.c b/dlls/user32/tests/combo.c
index faf2145..b7fa63f 100644
--- a/dlls/user32/tests/combo.c
+++ b/dlls/user32/tests/combo.c
@@ -384,6 +384,8 @@ static void test_changesize( DWORD style)
rc.right - rc.left, clwidth - 2);
ok( rc.bottom - rc.top == ddheight, "drop-down rect height is %d vs %d\n",
rc.bottom - rc.top, ddheight);
+ ok( rc.right - rc.left == ddwidth -2, "drop-down rect width is %d vs %d\n",
+ rc.right - rc.left, ddwidth - 2);
/* new cx, cy is slightly bigger than the initial values */
MoveWindow( hCombo, 10, 10, clwidth + 2, clheight + 2, TRUE);
GetClientRect( hCombo, &rc);
More information about the wine-cvs
mailing list