Explorar o código

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 %!s(int64=11) %!d(string=hai) anos
pai
achega
2f613f71d7
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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;