Module: wine Branch: refs/heads/master Commit: 64f17bb3efc7d94f09466a5375d6583282e432be URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=64f17bb3efc7d94f09466a53...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Apr 10 20:21:19 2006 +0200
user: Use a smaller window for the menu test.
---
dlls/user/tests/menu.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/user/tests/menu.c b/dlls/user/tests/menu.c index 7bb0f94..22e48bf 100644 --- a/dlls/user/tests/menu.c +++ b/dlls/user/tests/menu.c @@ -183,8 +183,8 @@ static void test_menu_locked_by_window(v BOOL ret; HMENU hmenu; HWND hwnd = CreateWindowEx(0, MAKEINTATOM(atomMenuCheckClass), NULL, - WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, - NULL, NULL, NULL, NULL); + WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, 200, 200, + NULL, NULL, NULL, NULL); ok(hwnd != NULL, "CreateWindowEx failed with error %ld\n", GetLastError()); hmenu = CreateMenu(); ok(hmenu != NULL, "CreateMenu failed with error %ld\n", GetLastError()); @@ -219,8 +219,8 @@ static void test_menu_ownerdraw(void) HMENU hmenu; LONG leftcol; HWND hwnd = CreateWindowEx(0, MAKEINTATOM(atomMenuCheckClass), NULL, - WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, - NULL, NULL, NULL, NULL); + WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, 200, 200, + NULL, NULL, NULL, NULL); ok(hwnd != NULL, "CreateWindowEx failed with error %ld\n", GetLastError()); if( !hwnd) return; SetWindowLongPtr( hwnd, GWLP_WNDPROC, (LONG)menu_ownerdraw_wnd_proc); @@ -455,8 +455,8 @@ static void test_menu_bmp_and_string(voi
memset( bmfill, 0x55, sizeof( bmfill)); hwnd = CreateWindowEx(0, MAKEINTATOM(atomMenuCheckClass), NULL, - WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, - NULL, NULL, NULL, NULL); + WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, 200, 200, + NULL, NULL, NULL, NULL); hbm_arrow=LoadBitmap( 0, (CHAR*)OBM_MNARROW); GetObject( hbm_arrow, sizeof(bm), &bm); arrowwidth = bm.bmWidth;