Mikołaj Zalewski : comctl32: rebar tests: Support different window border width.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Mar 1 16:27:07 CST 2007


Module: wine
Branch: master
Commit: 6156154409f94aabf33c12d7d4ff040c25637b25
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6156154409f94aabf33c12d7d4ff040c25637b25

Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date:   Thu Mar  1 13:42:37 2007 +0100

comctl32: rebar tests: Support different window border width.

---

 dlls/comctl32/tests/rebar.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/tests/rebar.c b/dlls/comctl32/tests/rebar.c
index 640091a..e769420 100644
--- a/dlls/comctl32/tests/rebar.c
+++ b/dlls/comctl32/tests/rebar.c
@@ -790,7 +790,8 @@ START_TEST(rebar)
     wc.lpfnWndProc = MyWndProc;
     RegisterClassA(&wc);
     hMainWnd = CreateWindowExA(0, "MyTestWnd", "Blah", WS_OVERLAPPEDWINDOW,
-      CW_USEDEFAULT, CW_USEDEFAULT, 680, 226+GetSystemMetrics(SM_CYCAPTION)+2*GetSystemMetrics(SM_CYSIZEFRAME),
+      CW_USEDEFAULT, CW_USEDEFAULT, 672+2*GetSystemMetrics(SM_CXSIZEFRAME),
+      226+GetSystemMetrics(SM_CYCAPTION)+2*GetSystemMetrics(SM_CYSIZEFRAME),
       NULL, NULL, GetModuleHandleA(NULL), 0);
     GetClientRect(hMainWnd, &rc);
     ShowWindow(hMainWnd, SW_SHOW);




More information about the wine-cvs mailing list