[PATCH] user32: Don't use DLGTEMPLATE's ExStyle when creating dialogs
Andrew Eikum
aeikum at codeweavers.com
Fri May 7 17:16:41 CDT 2010
Wine's old dialog template code passed the template's ExStyle to
CreateWindow, but certain EX flags can cause the window to fail to
be created (for example, WS_EX_MDICHILD). According to MSDN, the
ExStyle member of DLGTEMPLATE is ignored when dialog windows are
created, so we should ignore the style flags.
---
dlls/user32/dialog.c | 1 +
dlls/user32/tests/dialog.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Don-t-use-DLGTEMPLATE-s-ExStyle-when-creating.patch
Type: text/x-patch
Size: 1110 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100507/4080bd3e/attachment.bin>
More information about the wine-patches
mailing list