diff options
author | hobbs <hobbs> | 2001-11-10 00:58:51 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-11-10 00:58:51 (GMT) |
commit | d1b8e1178cde9bd9858bd427a2dcc665ad903152 (patch) | |
tree | c9f7b72e38056d27ab878e183527d70a558529f5 /win/rc/wish.rc | |
parent | ee3ea0d53f192b513fb7274babd79e1357ba7316 (diff) | |
download | tk-d1b8e1178cde9bd9858bd427a2dcc665ad903152.zip tk-d1b8e1178cde9bd9858bd427a2dcc665ad903152.tar.gz tk-d1b8e1178cde9bd9858bd427a2dcc665ad903152.tar.bz2 |
* win/tkWinX.c (TkWinXInit): added InitCommonControlsEx call.
* win/rc/tk.rc:
* win/rc/wish.rc:
* win/rc/wish.exe.manifest: added resources that specify using v6
of the MS Common Controls library when available (WinXP+). This
enables use of the themeable widgets (like scrollbars) to be used
in Tk. [Patch #478933]
Diffstat (limited to 'win/rc/wish.rc')
-rw-r--r-- | win/rc/wish.rc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/win/rc/wish.rc b/win/rc/wish.rc index 7d6ce2c..d10a200 100644 --- a/win/rc/wish.rc +++ b/win/rc/wish.rc @@ -1,4 +1,4 @@ -// RCS: @(#) $Id: wish.rc,v 1.6 2001/10/01 21:04:07 hobbs Exp $ +// RCS: @(#) $Id: wish.rc,v 1.7 2001/11/10 00:58:51 hobbs Exp $ // // Version Resource Script // @@ -79,3 +79,15 @@ app ICON DISCARDABLE "wish.ico" #ifdef STATIC_BUILD #include "tk_base.rc" #endif + +// +// This enables themed scrollbars in XP by trying to use comctl32 v6. +// + +#ifndef RT_MANIFEST +#define RT_MANIFEST 24 +#endif +#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID +#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 +#endif +CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest" |