From 4cc592854ca32856121e45f8440c43b4eeccdc98 Mon Sep 17 00:00:00 2001 From: Julius Schwartzenberg Date: Tue, 6 Oct 2009 23:02:34 +0200 Subject: The test passes on win98 & winxp. It fails on WinXP 64-bit, just like Civ II does. --- dlls/user32/tests/edit.c | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c index 5ca012e..70a61a9 100644 --- a/dlls/user32/tests/edit.c +++ b/dlls/user32/tests/edit.c @@ -2260,6 +2260,19 @@ static void test_dialogmode(void) destroy_child_editcontrol(hwEdit); } +static void test_extra_value() +{ +todo_wine { + WNDCLASSEX cls; + GetClassInfoEx(NULL,"Edit",&cls); + #ifdef _WIN64 + ok(cls.cbWndExtra == 8, "expected 6, got %d\n", cls.cbWndExtra); + #else + ok(cls.cbWndExtra == 6, "expected 6, got %d\n", cls.cbWndExtra); + #endif +} +} + START_TEST(edit) { hinst = GetModuleHandleA(NULL); @@ -2285,6 +2298,7 @@ START_TEST(edit) test_child_edit_wmkeydown(); test_fontsize(); test_dialogmode(); + test_extra_value(); UnregisterWindowClasses(); } -- 1.6.0.4