DLGITEMTEMPLATE structure had one too many member.
diff --git a/include/winuser.h b/include/winuser.h
index 868932e..36bf840 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -1728,6 +1728,8 @@
typedef BOOL (CALLBACK *MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM);
+/* FIXME: use this instead of LPCVOID for CreateDialogIndirectParam
+ and DialogBoxIndirectParam */
typedef struct tagDLGTEMPLATE
{
DWORD style;
@@ -1746,12 +1748,10 @@
typedef const DLGTEMPLATE *LPCDLGTEMPLATEW;
#define LPCDLGTEMPLATE WINELIB_NAME_AW(LPCDLGTEMPLATE)
-/* Fixme: use this instaed of LPCVOID for CreateDialogIndirectParam and DialogBoxIndirectParam*/
typedef struct tagDLGITEMTEMPLATE
{
DWORD style;
DWORD dwExtendedStyle;
- WORD cdit;
short x;
short y;
short cx;