Browse Source

Merged revisions 2198 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

r2198 (jonas)
* fixed dlgtemplate and dlgitemtemplate structs (Martin Schreiber)

git-svn-id: branches/fixes_2_0@2224 -

Jonas Maebe 20 years ago
parent
commit
555145f593
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
           style : DWORD;
           dwExtendedStyle : DWORD;
-          x : integer;
-          y : integer;
-          cx : integer;
-          cy : integer;
+          x : smallint;
+          y : smallint;
+          cx : smallint;
+          cy : smallint;
           id : WORD;
        end;
      LPDLGITEMTEMPLATE = ^DLGITEMTEMPLATE;
@@ -1908,10 +1908,10 @@
           style : DWORD;
           dwExtendedStyle : DWORD;
           cdit : WORD;
-          x : integer;
-          y : integer;
-          cx : integer;
-          cy : integer;
+          x : smallint;
+          y : smallint;
+          cx : smallint;
+          cy : smallint;
        end;
      LPDLGTEMPLATE = ^DLGTEMPLATE;
      LPCDLGTEMPLATE = ^DLGTEMPLATE;