comctl32/edit: Fix class style mask.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-02-05 00:30:10 +03:00 committed by Alexandre Julliard
parent a21b16d8cb
commit 73cd9809f3
2 changed files with 2 additions and 2 deletions

View File

@ -5007,7 +5007,7 @@ void EDIT_Register(void)
WNDCLASSW wndClass;
memset(&wndClass, 0, sizeof(wndClass));
wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS;
wndClass.style = CS_PARENTDC | CS_GLOBALCLASS | CS_DBLCLKS;
wndClass.lpfnWndProc = EDIT_WindowProc;
wndClass.cbClsExtra = 0;
#ifdef __i386__

View File

@ -345,7 +345,7 @@ static void check_class( const char *name, int must_exist, UINT style, UINT igno
if (GetClassInfoA( 0, name, &wc ))
{
todo_wine
todo_wine_if(strcmp(name, "Edit"))
ok( !(~wc.style & style & ~ignore), "System class %s is missing bits %x (%08x/%08x)\n",
name, ~wc.style & style, wc.style, style );
ok( !(wc.style & ~style), "System class %s has extra bits %x (%08x/%08x)\n",