瀏覽代碼

* fixed dlgtemplate and dlgitemtemplate structs (Martin Schreiber)

git-svn-id: trunk@2198 -
Jonas Maebe 19 年之前
父節點
當前提交
b334da9a54
共有 1 個文件被更改,包括 8 次插入8 次删除
  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;