Parcourir la source

Readd RT_RCDATA to the Types unit, but with a deprecated message so that users use the Windows one instead.

rtl/objpas/types.pp:
  + readd RT_RCDATA as a reference to the one declared in the Windows unit for Win32 and Win64; also add a deprecated message that advices users to use the one declared in the Windows instead.

git-svn-id: trunk@29127 -
svenbarth il y a 10 ans
Parent
commit
2f613f71d7
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      rtl/objpas/types.pp

+ 5 - 0
rtl/objpas/types.pp

@@ -21,6 +21,11 @@ unit types;
        Windows;
 {$endif Windows}
 
+{$ifdef mswindows}
+const
+  RT_RCDATA = Windows.RT_RCDATA deprecated 'Use Windows.RT_RCDATA instead';
+{$endif mswindows}
+
 type
   DWORD = LongWord;