summaryrefslogtreecommitdiffstats
path: root/win/tkWinInt.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-04-12 07:18:49 (GMT)
committerhobbs <hobbs>2002-04-12 07:18:49 (GMT)
commit6cc091f340f6e3241b8b78ca196706e0e1891b67 (patch)
treeec1c9b7ae858e684f487be3fc7d97a069cfa3e32 /win/tkWinInt.h
parent659c4085c492c12bbd774955860f223e389260eb (diff)
downloadtk-6cc091f340f6e3241b8b78ca196706e0e1891b67.zip
tk-6cc091f340f6e3241b8b78ca196706e0e1891b67.tar.gz
tk-6cc091f340f6e3241b8b78ca196706e0e1891b67.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.
Diffstat (limited to 'win/tkWinInt.h')
-rw-r--r--win/tkWinInt.h8
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 */