diff options
author | hobbs <hobbs@noemail.net> | 2002-04-12 07:18:49 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2002-04-12 07:18:49 (GMT) |
commit | 45ae4d9a483756ee1dfb38c08a930245b90c7f97 (patch) | |
tree | ec1c9b7ae858e684f487be3fc7d97a069cfa3e32 /win/tkWinInt.h | |
parent | e0a20c7843bf173b35e2ad3159312e38fbd3470f (diff) | |
download | tk-45ae4d9a483756ee1dfb38c08a930245b90c7f97.zip tk-45ae4d9a483756ee1dfb38c08a930245b90c7f97.tar.gz tk-45ae4d9a483756ee1dfb38c08a930245b90c7f97.tar.bz2 |
* win/tkWinInt.h: declaration for TkWinGetUnicodeEncoding
* win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding
* win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding
* win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static
unicodeEncoding.
FossilOrigin-Name: ca09d55644cd9006092eec025b62e54ee611bf11
Diffstat (limited to 'win/tkWinInt.h')
-rw-r--r-- | win/tkWinInt.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win/tkWinInt.h b/win/tkWinInt.h index 49c3267..ca4916a 100644 --- a/win/tkWinInt.h +++ b/win/tkWinInt.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinInt.h,v 1.12 2001/12/28 23:43:21 hobbs Exp $ + * RCS: @(#) $Id: tkWinInt.h,v 1.13 2002/04/12 07:18:49 hobbs Exp $ */ #ifndef _TKWININT @@ -193,7 +193,13 @@ EXTERN TkWinProcs *tkWinProcs; #undef TCL_STORAGE_CLASS #define TCL_STORAGE_CLASS DLLIMPORT +/* + * The following allows us to cache these encoding for multiple functions. + */ + + extern Tcl_Encoding TkWinGetKeyInputEncoding _ANSI_ARGS_((void)); +extern Tcl_Encoding TkWinGetUnicodeEncoding _ANSI_ARGS_((void)); #endif /* _TKWININT */ |