diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-09 13:41:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-09 13:41:27 (GMT) |
commit | 3b8a1a19064c05bb314d93d5ce9e2d51efbb5e44 (patch) | |
tree | f18c6b6e8986c8b77eb6445792fa3ab6ec532c2d /win/ttkWinXPTheme.c | |
parent | d923ff63c9b6637fbae77b9dbed6ced704eba82b (diff) | |
download | tk-3b8a1a19064c05bb314d93d5ce9e2d51efbb5e44.zip tk-3b8a1a19064c05bb314d93d5ce9e2d51efbb5e44.tar.gz tk-3b8a1a19064c05bb314d93d5ce9e2d51efbb5e44.tar.bz2 |
Bring all win32 version stuff to one place. Should work the same (should still work on XP, although I don't know if we really want that).
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r-- | win/ttkWinXPTheme.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c index 3de1504..909660a 100644 --- a/win/ttkWinXPTheme.c +++ b/win/ttkWinXPTheme.c @@ -15,14 +15,12 @@ * shellcc/platform/commctls/userex/refentry.asp > */ +#include <tkWinInt.h> #ifndef HAVE_UXTHEME_H /* Stub for platforms that lack the XP theme API headers: */ -#include <tkWinInt.h> int TtkXPTheme_Init(Tcl_Interp *interp, HWND hwnd) { return TCL_OK; } #else -#define WINVER 0x0501 /* Requires Windows XP APIs */ - #include <windows.h> #include <uxtheme.h> #if defined(HAVE_VSSYM32_H) || _MSC_VER > 1500 @@ -31,8 +29,6 @@ int TtkXPTheme_Init(Tcl_Interp *interp, HWND hwnd) { return TCL_OK; } # include <tmschema.h> #endif -#include <tkWinInt.h> - #include "ttk/ttkTheme.h" typedef HTHEME (STDAPICALLTYPE OpenThemeDataProc)(HWND hwnd, |