diff options
author | mdejong <mdejong@noemail.net> | 2004-09-21 19:13:38 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2004-09-21 19:13:38 (GMT) |
commit | f50abd658c28e0a4f9f038c7aa93e14761d9ee84 (patch) | |
tree | 98ecad90de0c4147910bd99028f9dfa862606dad /generic/tkStubInit.c | |
parent | 1626a5ac85b38a85a1d0bfbed9017cad2a64d7fe (diff) | |
download | tk-f50abd658c28e0a4f9f038c7aa93e14761d9ee84.zip tk-f50abd658c28e0a4f9f038c7aa93e14761d9ee84.tar.gz tk-f50abd658c28e0a4f9f038c7aa93e14761d9ee84.tar.bz2 |
* generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.
It is only defined under Win32.
* generic/tkIntPlatDecls.h: Regen.
* generic/tkStubInit.c: Regen.
* win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and
TK_THEME_WIN_XP.
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel):
Draw a disabled 3D text highlight for the accelerator only
with the Win95/98 look. Same goes for the menu entry text.
* win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme):
Automatically detect the Windows theme in use and return
either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the
TkWinGetPlatformTheme function is invoked.
[Patch 866194]
FossilOrigin-Name: 24901585f19675a68752a05ee56e4260a55251b5
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r-- | generic/tkStubInit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index 8ba750d..bc3761f 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkStubInit.c,v 1.45 2004/08/19 14:43:43 dkf Exp $ + * RCS: @(#) $Id: tkStubInit.c,v 1.46 2004/09/21 19:13:57 mdejong Exp $ */ #include "tkInt.h" @@ -335,6 +335,7 @@ TkIntPlatStubs tkIntPlatStubs = { TkWinGetMenuSystemDefault, /* 32 */ TkWinGetPlatformId, /* 33 */ TkWinSetHINSTANCE, /* 34 */ + TkWinGetPlatformTheme, /* 35 */ #endif /* __WIN32__ */ #ifdef MAC_OSX_TK TkGenerateActivateEvents, /* 0 */ |