diff options
author | mdejong <mdejong> | 2004-09-21 19:13:38 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2004-09-21 19:13:38 (GMT) |
commit | a25c5763f281dd91e24bcdff1ef95473cca5eb0f (patch) | |
tree | 98ecad90de0c4147910bd99028f9dfa862606dad /generic/tkInt.decls | |
parent | de82f6faac81acdc141df0474176f05fe79cd24e (diff) | |
download | tk-a25c5763f281dd91e24bcdff1ef95473cca5eb0f.zip tk-a25c5763f281dd91e24bcdff1ef95473cca5eb0f.tar.gz tk-a25c5763f281dd91e24bcdff1ef95473cca5eb0f.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]
Diffstat (limited to 'generic/tkInt.decls')
-rw-r--r-- | generic/tkInt.decls | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls index 12a560d..f88b670 100644 --- a/generic/tkInt.decls +++ b/generic/tkInt.decls @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: tkInt.decls,v 1.36 2004/08/19 14:41:52 dkf Exp $ +# RCS: @(#) $Id: tkInt.decls,v 1.37 2004/09/21 19:13:56 mdejong Exp $ library tk @@ -855,6 +855,10 @@ declare 34 win { void TkWinSetHINSTANCE (HINSTANCE hInstance) } +declare 35 win { + int TkWinGetPlatformTheme (void) +} + ######################## # Mac OS X specific functions |