summaryrefslogtreecommitdiffstats
path: root/win/ttkWinXPTheme.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2007-12-10 12:03:53 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2007-12-10 12:03:53 (GMT)
commit07d529beffc9cd3f7e50d532f77dd47ca2bd6234 (patch)
tree3be0766e5ef672f698f05a31cca0c975813c7535 /win/ttkWinXPTheme.c
parentdc96a893397500b3a0ca97269c74728de9bf4cdd (diff)
downloadtk-07d529beffc9cd3f7e50d532f77dd47ca2bd6234.zip
tk-07d529beffc9cd3f7e50d532f77dd47ca2bd6234.tar.gz
tk-07d529beffc9cd3f7e50d532f77dd47ca2bd6234.tar.bz2
Only tkWin.h should include windows.h unless we have an explicit override of
the WINVER macro.
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r--win/ttkWinXPTheme.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index 34371f2..7cd7f48 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -1,5 +1,5 @@
/*
- * $Id: ttkWinXPTheme.c,v 1.16 2007/12/02 04:32:23 jenglish Exp $
+ * $Id: ttkWinXPTheme.c,v 1.17 2007/12/10 12:03:55 patthoyts Exp $
*
* Tk theme engine which uses the Windows XP "Visual Styles" API
* Adapted from Georgios Petasis' XP theme patch.
@@ -19,8 +19,7 @@
#ifndef HAVE_UXTHEME_H
/* Stub for platforms that lack the XP theme API headers: */
-#include <windows.h>
-#include <tcl.h>
+#include <tkWinInt.h>
int TtkXPTheme_Init(Tcl_Interp *interp, HWND hwnd) { return TCL_OK; }
#else