summaryrefslogtreecommitdiffstats
path: root/win/ttkWinXPTheme.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2013-11-20 15:35:27 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2013-11-20 15:35:27 (GMT)
commit7372182ea185b24dcfdcea1306561cd1dbecf881 (patch)
tree5575fae1369cc63819f3589e02d3191a3d15afd1 /win/ttkWinXPTheme.c
parent9d0280aed3f131f9e63c8d87496177f8d56bb0ef (diff)
downloadtk-7372182ea185b24dcfdcea1306561cd1dbecf881.zip
tk-7372182ea185b24dcfdcea1306561cd1dbecf881.tar.gz
tk-7372182ea185b24dcfdcea1306561cd1dbecf881.tar.bz2
Some bit of Windows 8.1 compatibility: See [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
FossilOrigin-Name: 5650767e54a7cf3c232c37753979a04fa71f8781
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r--win/ttkWinXPTheme.c6
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)