Browse Source

* patch from Ondrej to fix splitrecttype aliasing on windows. Mantis #29557
added alias of tarray4integertype too.

git-svn-id: trunk@33152 -

marco 9 years ago
parent
commit
b38b3a7c1e
1 changed files with 8 additions and 0 deletions
  1. 8 0
      rtl/objpas/types.pp

+ 8 - 0
rtl/objpas/types.pp

@@ -69,6 +69,7 @@ type
 {$endif}
 {$endif}
 
 
 {$ifdef Windows}
 {$ifdef Windows}
+  TArray4IntegerType = Windows.TArray4IntegerType;
   TSmallPoint = Windows.TSmallPoint;
   TSmallPoint = Windows.TSmallPoint;
   PSmallPoint = Windows.PSmallPoint;
   PSmallPoint = Windows.PSmallPoint;
 
 
@@ -82,6 +83,13 @@ type
 
 
   TRect  = Windows.TRect;
   TRect  = Windows.TRect;
   PRect  = Windows.PRect;
   PRect  = Windows.PRect;
+  TSplitRectType = Windows.TSplitRectType;
+const
+  srLeft = TSplitRectType.srLeft;
+  srRight = TSplitRectType.srRight;
+  srTop = TSplitRectType.srTop;
+  srBottom = TSplitRectType.srBottom;
+type
 {$else}
 {$else}
   {$i typshrdh.inc}
   {$i typshrdh.inc}
    TagSize = tSize deprecated;
    TagSize = tSize deprecated;