* bump to 2.19

* fixed PhTnpUpdateThemeData

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4325 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2011-07-11 13:28:13 +00:00
parent bcb015e418
commit ed8381bcdf
2 changed files with 15 additions and 5 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
#define PHAPP_VERSION_MAJOR 2
#define PHAPP_VERSION_MINOR 18
#define PHAPP_VERSION_MINOR 19
#define PHAPP_VERSION_REVISION 0
#define PHAPP_VERSION_STRING "2.18"
#define PHAPP_VERSION_STRING "2.19"
+13 -3
View File
@@ -1897,9 +1897,19 @@ VOID PhTnpUpdateThemeData(
}
Context->ThemeData = OpenThemeData_I(Context->Handle, L"TREEVIEW");
Context->ThemeHasItemBackground = !!IsThemePartDefined_I(Context->ThemeData, TVP_TREEITEM, 0);
Context->ThemeHasGlyph = !!IsThemePartDefined_I(Context->ThemeData, TVP_GLYPH, 0);
Context->ThemeHasHotGlyph = !!IsThemePartDefined_I(Context->ThemeData, TVP_HOTGLYPH, 0);
if (Context->ThemeData)
{
Context->ThemeHasItemBackground = !!IsThemePartDefined_I(Context->ThemeData, TVP_TREEITEM, 0);
Context->ThemeHasGlyph = !!IsThemePartDefined_I(Context->ThemeData, TVP_GLYPH, 0);
Context->ThemeHasHotGlyph = !!IsThemePartDefined_I(Context->ThemeData, TVP_HOTGLYPH, 0);
}
else
{
Context->ThemeHasItemBackground = FALSE;
Context->ThemeHasGlyph = FALSE;
Context->ThemeHasHotGlyph = FALSE;
}
}
else
{