summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorpatthoyts@users.sourceforge.net <patthoyts>2009-12-03 23:58:34 (GMT)
committerpatthoyts@users.sourceforge.net <patthoyts>2009-12-03 23:58:34 (GMT)
commitaf43f15db1a4d812340e9a8dccbb2e2e22d34cf8 (patch)
treeaf01d0a3f9a01d3ce36f35080c91b9855a8d1636 /win
parent022f5c5e916e7c3d3393a78bd286568c1316471a (diff)
downloadtk-af43f15db1a4d812340e9a8dccbb2e2e22d34cf8.zip
tk-af43f15db1a4d812340e9a8dccbb2e2e22d34cf8.tar.gz
tk-af43f15db1a4d812340e9a8dccbb2e2e22d34cf8.tar.bz2
Fix the selection of treeview rows on Windows XP and Vista
Diffstat (limited to 'win')
-rw-r--r--win/ttkWinXPTheme.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index 0c5369c..5502206 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -1,5 +1,5 @@
/*
- * $Id: ttkWinXPTheme.c,v 1.18.2.1 2009/05/14 00:53:04 patthoyts Exp $
+ * $Id: ttkWinXPTheme.c,v 1.18.2.2 2009/12/03 23:58:35 patthoyts Exp $
*
* Tk theme engine which uses the Windows XP "Visual Styles" API
* Adapted from Georgios Petasis' XP theme patch.
@@ -27,7 +27,11 @@ int TtkXPTheme_Init(Tcl_Interp *interp, HWND hwnd) { return TCL_OK; }
#include <windows.h>
#include <uxtheme.h>
-#include <tmschema.h>
+#ifdef HAVE_VSSYM32_H
+# include <vssym32.h>
+#else
+# include <tmschema.h>
+#endif
#include <tkWinInt.h>