From 17789c16369c06f4d740d80c868d13a90c7164dd Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Tue, 18 May 2010 16:02:41 -0500 Subject: [PATCH] Revert "user32: Don't use DLGTEMPLATE's ExStyle when creating dialogs.". This reverts commit 897f11d33178f1c5b591ba1a516e79ec8834055e. --- dlls/user32/dialog.c | 1 - dlls/user32/tests/dialog.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c index af241a202e3..79f5182c788 100644 --- a/dlls/user32/dialog.c +++ b/dlls/user32/dialog.c @@ -498,7 +498,6 @@ static HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCVOID dlgTemplate, if (!dlgTemplate) return 0; dlgTemplate = DIALOG_ParseTemplate32( dlgTemplate, &template ); - template.exStyle = 0; /* exstyle is ignored */ /* Load menu */ diff --git a/dlls/user32/tests/dialog.c b/dlls/user32/tests/dialog.c index b5d6271171c..d18ba0e73b1 100644 --- a/dlls/user32/tests/dialog.c +++ b/dlls/user32/tests/dialog.c @@ -1061,7 +1061,7 @@ static void test_MessageBoxFontTest(void) 0x01,0x00, /* Version */ 0xff,0xff, /* Extended template marker */ 0x00,0x00,0x00,0x00, /* Context Help ID */ - 0x40,0x00,0x00,0x00, /* Extended style (WM_EX_MDICHILD) */ + 0x00,0x00,0x00,0x00, /* Extended style */ 0xc0,0x00,0xc8,0x80, /* Style (WS_SYSMENU|WS_CAPTION|WS_POPUP|DS_SETFONT|DS_MODALFRAME) */ 0x01,0x00, /* Control count */ 0x00,0x00, /* X */