diff options
author | Guido van Rossum <guido@python.org> | 1999-11-05 18:09:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-11-05 18:09:56 (GMT) |
commit | 6b26a06037d5ceacf2279f8c1f145521316037c9 (patch) | |
tree | 865f85c916dd564547ae755485797bac0c20f1bb /Modules | |
parent | f941acda6007b1b0443b58169b067826389ce6cb (diff) | |
download | cpython-6b26a06037d5ceacf2279f8c1f145521316037c9.zip cpython-6b26a06037d5ceacf2279f8c1f145521316037c9.tar.gz cpython-6b26a06037d5ceacf2279f8c1f145521316037c9.tar.bz2 |
Patch by Dieter Maurer to make things work for Tcl/Tk 8.1 (tested with
8.1.1). His approach doesn't work with Tcl/Tk 8.2, so I've placed it
inside #if TKMAJORMINOR == 8001 and #endif. See also his patch for
tkappinit.c.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_tkinter.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index ea0c8b1..fd0a69c 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -491,6 +491,10 @@ Tkapp_New(screenName, baseName, className, interactive) v->interp = Tcl_CreateInterp(); +#if TKMAJORMINOR == 8001 + TclpInitLibraryPath(baseName); +#endif /* TKMAJORMINOR */ + #if defined(macintosh) && TKMAJORMINOR >= 8000 /* This seems to be needed since Tk 8.0 */ ClearMenuBar(); |