diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-11-20 15:35:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-11-20 15:35:27 (GMT) |
commit | 857ad319e1e8ef85c537ede8d628c08de911f03f (patch) | |
tree | 5575fae1369cc63819f3589e02d3191a3d15afd1 /win/ttkWinXPTheme.c | |
parent | 0af1f3e468baaf1b8cf6bc13452d1fc8f0a265f5 (diff) | |
download | tk-857ad319e1e8ef85c537ede8d628c08de911f03f.zip tk-857ad319e1e8ef85c537ede8d628c08de911f03f.tar.gz tk-857ad319e1e8ef85c537ede8d628c08de911f03f.tar.bz2 |
Some bit of Windows 8.1 compatibility: See [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r-- | win/ttkWinXPTheme.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c index fda7b04..80b616d 100644 --- a/win/ttkWinXPTheme.c +++ b/win/ttkWinXPTheme.c @@ -1256,10 +1256,10 @@ MODULE_SCOPE int TtkXPTheme_Init(Tcl_Interp *interp, HWND hwnd) HINSTANCE hlibrary; Ttk_Theme themePtr, parentPtr, vistaPtr; ElementInfo *infoPtr; - OSVERSIONINFO os; + OSVERSIONINFOW os; - os.dwOSVersionInfoSize = sizeof(os); - GetVersionEx(&os); + os.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW); + GetVersionExW(&os); procs = LoadXPThemeProcs(&hlibrary); if (!procs) |