mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
atl100: Fixed register class types in AtlAxWinInit.
This commit is contained in:
parent
ef601fcb7e
commit
ed62fcb700
2 changed files with 3 additions and 1 deletions
|
@ -95,7 +95,7 @@ BOOL WINAPI AtlAxWinInit(void)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
wcex.cbSize = sizeof(wcex);
|
wcex.cbSize = sizeof(wcex);
|
||||||
wcex.style = 0;
|
wcex.style = CS_GLOBALCLASS | CS_DBLCLKS;
|
||||||
wcex.cbClsExtra = 0;
|
wcex.cbClsExtra = 0;
|
||||||
wcex.cbWndExtra = 0;
|
wcex.cbWndExtra = 0;
|
||||||
wcex.hInstance = GetModuleHandleW( NULL );
|
wcex.hInstance = GetModuleHandleW( NULL );
|
||||||
|
|
|
@ -583,11 +583,13 @@ static void test_ax_win(void)
|
||||||
wcex.cbSize = sizeof(wcex);
|
wcex.cbSize = sizeof(wcex);
|
||||||
ret = GetClassInfoExW(hinstance, AtlAxWin100, &wcex);
|
ret = GetClassInfoExW(hinstance, AtlAxWin100, &wcex);
|
||||||
ok(ret, "AtlAxWin100 has not registered\n");
|
ok(ret, "AtlAxWin100 has not registered\n");
|
||||||
|
ok(wcex.style == (CS_GLOBALCLASS | CS_DBLCLKS), "wcex.style %08x\n", wcex.style);
|
||||||
|
|
||||||
memset(&wcex, 0, sizeof(wcex));
|
memset(&wcex, 0, sizeof(wcex));
|
||||||
wcex.cbSize = sizeof(wcex);
|
wcex.cbSize = sizeof(wcex);
|
||||||
ret = GetClassInfoExW(hinstance, AtlAxWinLic100, &wcex);
|
ret = GetClassInfoExW(hinstance, AtlAxWinLic100, &wcex);
|
||||||
ok(ret, "AtlAxWinLic100 has not registered\n");
|
ok(ret, "AtlAxWinLic100 has not registered\n");
|
||||||
|
ok(wcex.style == (CS_GLOBALCLASS | CS_DBLCLKS), "wcex.style %08x\n", wcex.style);
|
||||||
}
|
}
|
||||||
|
|
||||||
START_TEST(atl)
|
START_TEST(atl)
|
||||||
|
|
Loading…
Reference in a new issue