Browse Source

* fixed dlgtemplate and dlgitemtemplate structs (Martin Schreiber)

git-svn-id: trunk@2198 -
Jonas Maebe 19 years ago
parent
commit
b334da9a54
1 changed files with 8 additions and 8 deletions
  1. 8 8
      rtl/win32/wininc/struct.inc

+ 8 - 8
rtl/win32/wininc/struct.inc

@@ -1894,10 +1894,10 @@
      DLGITEMTEMPLATE = packed record
      DLGITEMTEMPLATE = packed record
           style : DWORD;
           style : DWORD;
           dwExtendedStyle : DWORD;
           dwExtendedStyle : DWORD;
-          x : integer;
-          y : integer;
-          cx : integer;
-          cy : integer;
+          x : smallint;
+          y : smallint;
+          cx : smallint;
+          cy : smallint;
           id : WORD;
           id : WORD;
        end;
        end;
      LPDLGITEMTEMPLATE = ^DLGITEMTEMPLATE;
      LPDLGITEMTEMPLATE = ^DLGITEMTEMPLATE;
@@ -1908,10 +1908,10 @@
           style : DWORD;
           style : DWORD;
           dwExtendedStyle : DWORD;
           dwExtendedStyle : DWORD;
           cdit : WORD;
           cdit : WORD;
-          x : integer;
-          y : integer;
-          cx : integer;
-          cy : integer;
+          x : smallint;
+          y : smallint;
+          cx : smallint;
+          cy : smallint;
        end;
        end;
      LPDLGTEMPLATE = ^DLGTEMPLATE;
      LPDLGTEMPLATE = ^DLGTEMPLATE;
      LPCDLGTEMPLATE = ^DLGTEMPLATE;
      LPCDLGTEMPLATE = ^DLGTEMPLATE;