Some of the type definitions have been imported from `UxTheme.h` to the `ThemeReader.cpp` because at that time we supported the windows OS below XP as well as VC6.
It is time to use `UxTheme.h ` directly, note I did not change how we load this library(JDK_LoadSystemLibrary(), as suggested in the comments of the bug it is not necessary that the application will use the win L&F and it is not necessary to link it directly. mach5 is green ------------- Commit messages: - 6422025: ThemeReader.cpp can be updated for VC7 Changes: https://git.openjdk.java.net/jdk/pull/1090/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1090&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-6422025 Stats: 145 lines in 3 files changed: 2 ins; 63 del; 80 mod Patch: https://git.openjdk.java.net/jdk/pull/1090.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1090/head:pull/1090 PR: https://git.openjdk.java.net/jdk/pull/1090