Browse 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 10 years ago
parent
commit
2f613f71d7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      rtl/objpas/types.pp

+ 5 - 0
rtl/objpas/types.pp

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