diff options
author | nijtmans <nijtmans> | 2009-08-02 21:40:16 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-08-02 21:40:16 (GMT) |
commit | 08a5c69704132511cb35781483e60ef2e5e534f7 (patch) | |
tree | 7a1b6fcc8666e39d05f77ebe57d7307be060e470 /win/ttkWinXPTheme.c | |
parent | f52a66c46958afc32b7e66a2cf5f8861d6b241f4 (diff) | |
download | tk-08a5c69704132511cb35781483e60ef2e5e534f7.zip tk-08a5c69704132511cb35781483e60ef2e5e534f7.tar.gz tk-08a5c69704132511cb35781483e60ef2e5e534f7.tar.bz2 |
eliminate various gcc and msvc compiler warnings
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r-- | win/ttkWinXPTheme.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c index b4e35f2..d4cb16c 100644 --- a/win/ttkWinXPTheme.c +++ b/win/ttkWinXPTheme.c @@ -1,5 +1,5 @@ /* - * $Id: ttkWinXPTheme.c,v 1.24 2009/03/25 23:39:34 nijtmans Exp $ + * $Id: ttkWinXPTheme.c,v 1.25 2009/08/02 21:40:17 nijtmans 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> +#if defined(_MSC_VER) && (NTDDI_VERSION >= NTDDI_LONGHORN) +# include <vssym32.h> +#else +# include <tmschema.h> +#endif #include <tkWinInt.h> |