summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.decls
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-01-22 14:32:59 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-01-22 14:32:59 (GMT)
commit52da74a40ec7d58b961beb5f30fa40976bd71587 (patch)
treed36caa6a34005845deeb4fa8eb884defa7bafe80 /generic/tkInt.decls
parentb2bfe80a4f86bf9cd9235f5cd97e3de7181ec0e9 (diff)
downloadtk-52da74a40ec7d58b961beb5f30fa40976bd71587.zip
tk-52da74a40ec7d58b961beb5f30fa40976bd71587.tar.gz
tk-52da74a40ec7d58b961beb5f30fa40976bd71587.tar.bz2
* generic/tkImage.c (Tk_ImageObjCmd): Added check to make sure
that you're not creating an image named the same as .'s command, which refixes 220891, even when the name of the command has been changed with 'rename'. The error message is better too. * generic/tkFrame.c (TkToplevelWindowForCommand): Added way of mapping from command names to tkwins-for-toplevels. * tests/image.test (image-1.10,image-1.11): Updated to match new error message and added test for the rename case. * generic/tclInt.decls: Made TkToplevelWindowForCommand exported privately.
Diffstat (limited to 'generic/tkInt.decls')
-rw-r--r--generic/tkInt.decls7
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls
index 1b105ae..951bb45 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.32 2002/12/08 00:46:51 hobbs Exp $
+# RCS: @(#) $Id: tkInt.decls,v 1.33 2003/01/22 14:32:59 dkf Exp $
library tk
@@ -668,6 +668,11 @@ declare 147 generic {
void TkStylePkgFree (TkMainInfo *mainPtr)
}
+declare 148 generic {
+ Tk_Window TkToplevelWindowForCommand(Tcl_Interp *interp,
+ CONST char *cmdName)
+}
+
##############################################################################
# Define the platform specific internal Tcl interface. These functions are